@platform-modules/foreign-ministry 1.3.275 → 1.3.276
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +5 -10
- package/dist/data-source.js +5 -22
- package/dist/index.d.ts +2 -10
- package/dist/index.js +3 -30
- package/dist/models/AnnualTravelTicketEmployeeAllocationFamilyModel.d.ts +20 -0
- package/dist/models/AnnualTravelTicketEmployeeAllocationFamilyModel.js +44 -0
- package/dist/models/AnnualTravelTicketEmployeeAllocationModel.d.ts +20 -0
- package/dist/models/AnnualTravelTicketEmployeeAllocationModel.js +53 -0
- package/dist/models/EmbassyMasterModel.d.ts +16 -0
- package/dist/models/EmbassyMasterModel.js +75 -0
- package/dist/models/UserDependentsModel.d.ts +18 -0
- package/dist/models/UserDependentsModel.js +94 -0
- package/package.json +1 -1
- package/src/data-source.ts +584 -606
- package/src/index.ts +2 -27
- package/src/models/AnnualTravelTicketEmployeeAllocationFamilyModel.ts +33 -0
- package/src/models/AnnualTravelTicketEmployeeAllocationModel.ts +32 -0
- package/src/models/AnnualTravelTicketPriceConfigurationItemModel.ts +36 -36
- package/src/models/AnnualTravelTicketPriceConfigurationModel.ts +35 -35
- package/src/models/AnnualTravelTicketRequestModel.ts +42 -42
- package/src/models/DiplomaticAcademyRequestModel.ts +80 -80
- package/src/models/DocumentationFileModel.ts +40 -40
- package/src/models/FinancialWorkFlowModel.ts +15 -15
- package/src/models/GatePassVisitorsModel.ts +7 -7
- package/src/models/LMSExternalEntityTrainedPersonModel.ts +45 -45
- package/src/models/LanguageCourseRequestModel.ts +67 -67
- package/src/models/LeaveConfigModel.ts +71 -71
- package/src/models/MissionTravelApprovalModel.ts +101 -101
- package/src/models/MissionTravelAttachmentModel.ts +56 -56
- package/src/models/MissionTravelChatModel.ts +52 -52
- package/src/models/MissionTravelPersonModel.ts +105 -105
- package/src/models/MissionTravelWorkflowModel.ts +54 -54
- package/src/models/PollOptionsModel.ts +26 -26
- package/src/models/PollVotesModel.ts +37 -37
- package/src/models/PollsModel.ts +49 -49
- package/src/models/ProjectContactsModel.ts +51 -51
- package/src/models/ProjectFaqModel.ts +36 -36
- package/src/models/ProjectInvoicesModel.ts +41 -41
- package/src/models/ProjectModel.ts +75 -75
- package/src/models/ProjectTasksModel.ts +75 -75
- package/src/models/ResignationTerminationApprovalModel.ts +9 -9
- package/src/models/ResignationTerminationRequestModel.ts +17 -17
- package/src/models/SectionModel.ts +35 -35
- package/src/models/ServicesNotificationConfigsModel.ts +55 -55
- package/src/models/TelephoneDirectoryModel.ts +20 -20
- package/dist/models/EmployeeEvaluationAnswerModel.d.ts +0 -11
- package/dist/models/EmployeeEvaluationAnswerModel.js +0 -46
- package/dist/models/EmployeeEvaluationApprovalModel.d.ts +0 -22
- package/dist/models/EmployeeEvaluationApprovalModel.js +0 -84
- package/dist/models/EmployeeEvaluationAttachmentModel.d.ts +0 -11
- package/dist/models/EmployeeEvaluationAttachmentModel.js +0 -52
- package/dist/models/EmployeeEvaluationChatModel.d.ts +0 -18
- package/dist/models/EmployeeEvaluationChatModel.js +0 -65
- package/dist/models/EmployeeEvaluationModel.d.ts +0 -16
- package/dist/models/EmployeeEvaluationModel.js +0 -59
- package/dist/models/EmployeeEvaluationRequestModel.d.ts +0 -34
- package/dist/models/EmployeeEvaluationRequestModel.js +0 -104
- package/dist/models/EmployeeEvaluationWorkflowModel.d.ts +0 -17
- package/dist/models/EmployeeEvaluationWorkflowModel.js +0 -67
- package/dist/models/EvaluationEligibilitySettingModel.d.ts +0 -20
- package/dist/models/EvaluationEligibilitySettingModel.js +0 -67
- package/dist/models/EvaluationMastersModel.d.ts +0 -16
- package/dist/models/EvaluationMastersModel.js +0 -67
- package/dist/models/EvaluationQuestionMasterModel.d.ts +0 -10
- package/dist/models/EvaluationQuestionMasterModel.js +0 -42
- package/dist/models/EvaluationSectionMasterModel.d.ts +0 -7
- package/dist/models/EvaluationSectionMasterModel.js +0 -36
- package/dist/models/EvaluationWorkflowModel.d.ts +0 -60
- package/dist/models/EvaluationWorkflowModel.js +0 -215
- package/dist/models/IneligibleForEvaluationModel.d.ts +0 -8
- package/dist/models/IneligibleForEvaluationModel.js +0 -44
- package/dist/models/MissionTravelClassConfigModel.d.ts +0 -10
- package/dist/models/MissionTravelClassConfigModel.js +0 -50
- package/dist/models/MissionTravelPerdiemModel.d.ts +0 -10
- package/dist/models/MissionTravelPerdiemModel.js +0 -54
- package/src/models/EmployeeEvaluationAnswerModel.ts +0 -26
- package/src/models/EmployeeEvaluationApprovalModel.ts +0 -56
- package/src/models/EmployeeEvaluationAttachmentModel.ts +0 -29
- package/src/models/EmployeeEvaluationChatModel.ts +0 -42
- package/src/models/EmployeeEvaluationModel.ts +0 -38
- package/src/models/EmployeeEvaluationRequestModel.ts +0 -77
- package/src/models/EmployeeEvaluationWorkflowModel.ts +0 -43
- package/src/models/EvaluationEligibilitySettingModel.ts +0 -42
- package/src/models/EvaluationQuestionMasterModel.ts +0 -23
- package/src/models/EvaluationSectionMasterModel.ts +0 -17
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EvaluationAttachment = exports.EvaluationChat = exports.EvaluationApproval = exports.EvaluationEmployeeAnswer = exports.EvaluationEmployeeEvaluation = exports.EvaluationRequest = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let EvaluationRequest = class EvaluationRequest extends BaseModel_1.BaseModel {
|
|
16
|
-
};
|
|
17
|
-
exports.EvaluationRequest = EvaluationRequest;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], EvaluationRequest.prototype, "user_id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
24
|
-
__metadata("design:type", Number)
|
|
25
|
-
], EvaluationRequest.prototype, "department_id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], EvaluationRequest.prototype, "section_id", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], EvaluationRequest.prototype, "evaluation_year", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], EvaluationRequest.prototype, "evaluation_period", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], EvaluationRequest.prototype, "evaluation_month", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 64, default: 'draft' }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], EvaluationRequest.prototype, "status", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 64, default: 'evaluation_office_1' }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], EvaluationRequest.prototype, "current_step_key", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
52
|
-
__metadata("design:type", Object)
|
|
53
|
-
], EvaluationRequest.prototype, "undersecretary_department_id", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
56
|
-
__metadata("design:type", Number)
|
|
57
|
-
], EvaluationRequest.prototype, "raiser_department_id", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
60
|
-
__metadata("design:type", Number)
|
|
61
|
-
], EvaluationRequest.prototype, "raiser_section_id", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
64
|
-
__metadata("design:type", Object)
|
|
65
|
-
], EvaluationRequest.prototype, "workflow_execution_id", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, typeorm_1.OneToMany)(() => EvaluationEmployeeEvaluation, (e) => e.evaluation_request),
|
|
68
|
-
__metadata("design:type", Array)
|
|
69
|
-
], EvaluationRequest.prototype, "employee_evaluations", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typeorm_1.OneToMany)(() => EvaluationApproval, (a) => a.evaluation_request),
|
|
72
|
-
__metadata("design:type", Array)
|
|
73
|
-
], EvaluationRequest.prototype, "approvals", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, typeorm_1.OneToMany)(() => EvaluationChat, (c) => c.evaluation_request),
|
|
76
|
-
__metadata("design:type", Array)
|
|
77
|
-
], EvaluationRequest.prototype, "chats", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.OneToMany)(() => EvaluationAttachment, (a) => a.evaluation_request),
|
|
80
|
-
__metadata("design:type", Array)
|
|
81
|
-
], EvaluationRequest.prototype, "attachments", void 0);
|
|
82
|
-
exports.EvaluationRequest = EvaluationRequest = __decorate([
|
|
83
|
-
(0, typeorm_1.Entity)({ name: 'evaluation_requests' })
|
|
84
|
-
], EvaluationRequest);
|
|
85
|
-
let EvaluationEmployeeEvaluation = class EvaluationEmployeeEvaluation extends BaseModel_1.BaseModel {
|
|
86
|
-
};
|
|
87
|
-
exports.EvaluationEmployeeEvaluation = EvaluationEmployeeEvaluation;
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, typeorm_1.ManyToOne)(() => EvaluationRequest, (r) => r.employee_evaluations, { onDelete: 'CASCADE' }),
|
|
90
|
-
(0, typeorm_1.JoinColumn)({ name: 'evaluation_request_id' }),
|
|
91
|
-
__metadata("design:type", EvaluationRequest)
|
|
92
|
-
], EvaluationEmployeeEvaluation.prototype, "evaluation_request", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
95
|
-
__metadata("design:type", Number)
|
|
96
|
-
], EvaluationEmployeeEvaluation.prototype, "user_id", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: () => "'{}'::jsonb" }),
|
|
99
|
-
__metadata("design:type", Object)
|
|
100
|
-
], EvaluationEmployeeEvaluation.prototype, "dynamic_evaluation_form", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
103
|
-
__metadata("design:type", Boolean)
|
|
104
|
-
], EvaluationEmployeeEvaluation.prototype, "is_rca", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 32, nullable: true }),
|
|
107
|
-
__metadata("design:type", Object)
|
|
108
|
-
], EvaluationEmployeeEvaluation.prototype, "us_feedback", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.OneToMany)(() => EvaluationEmployeeAnswer, (a) => a.evaluation_employee_evaluation),
|
|
111
|
-
__metadata("design:type", Array)
|
|
112
|
-
], EvaluationEmployeeEvaluation.prototype, "answers", void 0);
|
|
113
|
-
exports.EvaluationEmployeeEvaluation = EvaluationEmployeeEvaluation = __decorate([
|
|
114
|
-
(0, typeorm_1.Entity)({ name: 'evaluation_employee_evaluations' })
|
|
115
|
-
], EvaluationEmployeeEvaluation);
|
|
116
|
-
let EvaluationEmployeeAnswer = class EvaluationEmployeeAnswer extends BaseModel_1.BaseModel {
|
|
117
|
-
};
|
|
118
|
-
exports.EvaluationEmployeeAnswer = EvaluationEmployeeAnswer;
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, typeorm_1.ManyToOne)(() => EvaluationEmployeeEvaluation, (e) => e.answers, { onDelete: 'CASCADE' }),
|
|
121
|
-
(0, typeorm_1.JoinColumn)({ name: 'evaluation_employee_evaluation_id' }),
|
|
122
|
-
__metadata("design:type", EvaluationEmployeeEvaluation)
|
|
123
|
-
], EvaluationEmployeeAnswer.prototype, "evaluation_employee_evaluation", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
126
|
-
__metadata("design:type", Number)
|
|
127
|
-
], EvaluationEmployeeAnswer.prototype, "evaluation_section_id", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
130
|
-
__metadata("design:type", Number)
|
|
131
|
-
], EvaluationEmployeeAnswer.prototype, "evaluation_question_id", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, typeorm_1.Column)({ type: 'smallint' }),
|
|
134
|
-
__metadata("design:type", Number)
|
|
135
|
-
], EvaluationEmployeeAnswer.prototype, "score", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
138
|
-
__metadata("design:type", Object)
|
|
139
|
-
], EvaluationEmployeeAnswer.prototype, "remarks", void 0);
|
|
140
|
-
exports.EvaluationEmployeeAnswer = EvaluationEmployeeAnswer = __decorate([
|
|
141
|
-
(0, typeorm_1.Entity)({ name: 'evaluation_employee_answers' })
|
|
142
|
-
], EvaluationEmployeeAnswer);
|
|
143
|
-
let EvaluationApproval = class EvaluationApproval extends BaseModel_1.BaseModel {
|
|
144
|
-
};
|
|
145
|
-
exports.EvaluationApproval = EvaluationApproval;
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, typeorm_1.ManyToOne)(() => EvaluationRequest, (r) => r.approvals, { onDelete: 'CASCADE' }),
|
|
148
|
-
(0, typeorm_1.JoinColumn)({ name: 'evaluation_request_id' }),
|
|
149
|
-
__metadata("design:type", EvaluationRequest)
|
|
150
|
-
], EvaluationApproval.prototype, "evaluation_request", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 64 }),
|
|
153
|
-
__metadata("design:type", String)
|
|
154
|
-
], EvaluationApproval.prototype, "step_key", void 0);
|
|
155
|
-
__decorate([
|
|
156
|
-
(0, typeorm_1.Column)({ type: 'int', default: 0 }),
|
|
157
|
-
__metadata("design:type", Number)
|
|
158
|
-
], EvaluationApproval.prototype, "step_order", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 32, default: 'pending' }),
|
|
161
|
-
__metadata("design:type", String)
|
|
162
|
-
], EvaluationApproval.prototype, "approval_status", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
165
|
-
__metadata("design:type", Object)
|
|
166
|
-
], EvaluationApproval.prototype, "approver_user_id", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
169
|
-
__metadata("design:type", Object)
|
|
170
|
-
], EvaluationApproval.prototype, "comments", void 0);
|
|
171
|
-
exports.EvaluationApproval = EvaluationApproval = __decorate([
|
|
172
|
-
(0, typeorm_1.Entity)({ name: 'evaluation_approvals' })
|
|
173
|
-
], EvaluationApproval);
|
|
174
|
-
let EvaluationChat = class EvaluationChat extends BaseModel_1.BaseModel {
|
|
175
|
-
};
|
|
176
|
-
exports.EvaluationChat = EvaluationChat;
|
|
177
|
-
__decorate([
|
|
178
|
-
(0, typeorm_1.ManyToOne)(() => EvaluationRequest, (r) => r.chats, { onDelete: 'CASCADE' }),
|
|
179
|
-
(0, typeorm_1.JoinColumn)({ name: 'evaluation_request_id' }),
|
|
180
|
-
__metadata("design:type", EvaluationRequest)
|
|
181
|
-
], EvaluationChat.prototype, "evaluation_request", void 0);
|
|
182
|
-
__decorate([
|
|
183
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
184
|
-
__metadata("design:type", Number)
|
|
185
|
-
], EvaluationChat.prototype, "sender_user_id", void 0);
|
|
186
|
-
__decorate([
|
|
187
|
-
(0, typeorm_1.Column)({ type: 'text' }),
|
|
188
|
-
__metadata("design:type", String)
|
|
189
|
-
], EvaluationChat.prototype, "message_text", void 0);
|
|
190
|
-
exports.EvaluationChat = EvaluationChat = __decorate([
|
|
191
|
-
(0, typeorm_1.Entity)({ name: 'evaluation_chats' })
|
|
192
|
-
], EvaluationChat);
|
|
193
|
-
let EvaluationAttachment = class EvaluationAttachment extends BaseModel_1.BaseModel {
|
|
194
|
-
};
|
|
195
|
-
exports.EvaluationAttachment = EvaluationAttachment;
|
|
196
|
-
__decorate([
|
|
197
|
-
(0, typeorm_1.ManyToOne)(() => EvaluationRequest, (r) => r.attachments, { onDelete: 'CASCADE' }),
|
|
198
|
-
(0, typeorm_1.JoinColumn)({ name: 'evaluation_request_id' }),
|
|
199
|
-
__metadata("design:type", EvaluationRequest)
|
|
200
|
-
], EvaluationAttachment.prototype, "evaluation_request", void 0);
|
|
201
|
-
__decorate([
|
|
202
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 512 }),
|
|
203
|
-
__metadata("design:type", String)
|
|
204
|
-
], EvaluationAttachment.prototype, "file_name", void 0);
|
|
205
|
-
__decorate([
|
|
206
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 1024 }),
|
|
207
|
-
__metadata("design:type", String)
|
|
208
|
-
], EvaluationAttachment.prototype, "file_url", void 0);
|
|
209
|
-
__decorate([
|
|
210
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
211
|
-
__metadata("design:type", Number)
|
|
212
|
-
], EvaluationAttachment.prototype, "uploaded_by_user_id", void 0);
|
|
213
|
-
exports.EvaluationAttachment = EvaluationAttachment = __decorate([
|
|
214
|
-
(0, typeorm_1.Entity)({ name: 'evaluation_attachments' })
|
|
215
|
-
], EvaluationAttachment);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare class IneligibleForEvaluation extends BaseModel {
|
|
3
|
-
employeeId: number;
|
|
4
|
-
leave_type: string;
|
|
5
|
-
is_active: boolean;
|
|
6
|
-
year: number;
|
|
7
|
-
constructor(employeeId: number, leave_type: string, is_active: boolean, year: number);
|
|
8
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.IneligibleForEvaluation = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let IneligibleForEvaluation = class IneligibleForEvaluation extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(employeeId, leave_type, is_active, year) {
|
|
17
|
-
super();
|
|
18
|
-
this.employeeId = employeeId;
|
|
19
|
-
this.leave_type = leave_type;
|
|
20
|
-
this.is_active = is_active;
|
|
21
|
-
this.year = year;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
exports.IneligibleForEvaluation = IneligibleForEvaluation;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: 'employee_id', type: 'int' }),
|
|
27
|
-
__metadata("design:type", Number)
|
|
28
|
-
], IneligibleForEvaluation.prototype, "employeeId", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], IneligibleForEvaluation.prototype, "leave_type", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
35
|
-
__metadata("design:type", Boolean)
|
|
36
|
-
], IneligibleForEvaluation.prototype, "is_active", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'int' }),
|
|
39
|
-
__metadata("design:type", Number)
|
|
40
|
-
], IneligibleForEvaluation.prototype, "year", void 0);
|
|
41
|
-
exports.IneligibleForEvaluation = IneligibleForEvaluation = __decorate([
|
|
42
|
-
(0, typeorm_1.Entity)({ name: 'ineligible_for_evaluation' }),
|
|
43
|
-
__metadata("design:paramtypes", [Number, String, Boolean, Number])
|
|
44
|
-
], IneligibleForEvaluation);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
import { TravelClass } from './MissionTravelPersonModel';
|
|
3
|
-
export declare class MissionTravelClassConfig extends BaseModel {
|
|
4
|
-
grade: number | null;
|
|
5
|
-
position: string | null;
|
|
6
|
-
travel_class: TravelClass;
|
|
7
|
-
is_active: boolean;
|
|
8
|
-
description: string | null;
|
|
9
|
-
constructor(grade: number | null, position: string | null, travel_class: TravelClass, description: string | null);
|
|
10
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.MissionTravelClassConfig = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
const MissionTravelPersonModel_1 = require("./MissionTravelPersonModel");
|
|
16
|
-
let MissionTravelClassConfig = class MissionTravelClassConfig extends BaseModel_1.BaseModel {
|
|
17
|
-
constructor(grade, position, travel_class, description) {
|
|
18
|
-
super();
|
|
19
|
-
this.grade = grade;
|
|
20
|
-
this.position = position;
|
|
21
|
-
this.travel_class = travel_class;
|
|
22
|
-
this.description = description;
|
|
23
|
-
this.is_active = true;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
exports.MissionTravelClassConfig = MissionTravelClassConfig;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], MissionTravelClassConfig.prototype, "grade", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
33
|
-
__metadata("design:type", Object)
|
|
34
|
-
], MissionTravelClassConfig.prototype, "position", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: MissionTravelPersonModel_1.TravelClass, nullable: false }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], MissionTravelClassConfig.prototype, "travel_class", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
41
|
-
__metadata("design:type", Boolean)
|
|
42
|
-
], MissionTravelClassConfig.prototype, "is_active", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], MissionTravelClassConfig.prototype, "description", void 0);
|
|
47
|
-
exports.MissionTravelClassConfig = MissionTravelClassConfig = __decorate([
|
|
48
|
-
(0, typeorm_1.Entity)({ name: 'mission_travel_class_config' }),
|
|
49
|
-
__metadata("design:paramtypes", [Object, Object, String, Object])
|
|
50
|
-
], MissionTravelClassConfig);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare class MissionTravelPerdiem extends BaseModel {
|
|
3
|
-
grade: number;
|
|
4
|
-
perdiem_amount: number;
|
|
5
|
-
currency: string | null;
|
|
6
|
-
effective_from: Date | null;
|
|
7
|
-
effective_to: Date | null;
|
|
8
|
-
is_active: boolean;
|
|
9
|
-
constructor(grade: number, perdiem_amount: number, currency: string | null, effective_from: Date | null, effective_to: Date | null);
|
|
10
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.MissionTravelPerdiem = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let MissionTravelPerdiem = class MissionTravelPerdiem extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(grade, perdiem_amount, currency, effective_from, effective_to) {
|
|
17
|
-
super();
|
|
18
|
-
this.grade = grade;
|
|
19
|
-
this.perdiem_amount = perdiem_amount;
|
|
20
|
-
this.currency = currency;
|
|
21
|
-
this.effective_from = effective_from;
|
|
22
|
-
this.effective_to = effective_to;
|
|
23
|
-
this.is_active = true;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
exports.MissionTravelPerdiem = MissionTravelPerdiem;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], MissionTravelPerdiem.prototype, "grade", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: false }),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], MissionTravelPerdiem.prototype, "perdiem_amount", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], MissionTravelPerdiem.prototype, "currency", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], MissionTravelPerdiem.prototype, "effective_from", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], MissionTravelPerdiem.prototype, "effective_to", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
49
|
-
__metadata("design:type", Boolean)
|
|
50
|
-
], MissionTravelPerdiem.prototype, "is_active", void 0);
|
|
51
|
-
exports.MissionTravelPerdiem = MissionTravelPerdiem = __decorate([
|
|
52
|
-
(0, typeorm_1.Entity)({ name: 'mission_travel_perdiem' }),
|
|
53
|
-
__metadata("design:paramtypes", [Number, Number, Object, Object, Object])
|
|
54
|
-
], MissionTravelPerdiem);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm';
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
import { EvaluationSectionMaster } from './EvaluationSectionMasterModel';
|
|
4
|
-
import { EvaluationQuestionMaster } from './EvaluationQuestionMasterModel';
|
|
5
|
-
import { EmployeeEvaluation } from './EmployeeEvaluationModel';
|
|
6
|
-
|
|
7
|
-
@Entity({ name: 'employee_evaluation_answers' })
|
|
8
|
-
export class EmployeeEvaluationAnswers extends BaseModel {
|
|
9
|
-
@ManyToOne(() => EmployeeEvaluation, { onDelete: 'CASCADE' })
|
|
10
|
-
@JoinColumn({ name: 'employee_evaluation_id' })
|
|
11
|
-
employee_evaluation: EmployeeEvaluation;
|
|
12
|
-
|
|
13
|
-
@ManyToOne(() => EvaluationSectionMaster, { onDelete: 'RESTRICT' })
|
|
14
|
-
@JoinColumn({ name: 'evaluation_section_id' })
|
|
15
|
-
evaluation_section: EvaluationSectionMaster;
|
|
16
|
-
|
|
17
|
-
@ManyToOne(() => EvaluationQuestionMaster, { onDelete: 'RESTRICT' })
|
|
18
|
-
@JoinColumn({ name: 'evaluation_question_id' })
|
|
19
|
-
evaluation_question: EvaluationQuestionMaster;
|
|
20
|
-
|
|
21
|
-
@Column({ type: 'int', nullable: false })
|
|
22
|
-
score: number;
|
|
23
|
-
|
|
24
|
-
@Column({ type: 'text', nullable: true })
|
|
25
|
-
remarks: string | null;
|
|
26
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Column, Entity } from 'typeorm';
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
|
|
4
|
-
export enum EmployeeEvaluationApprovalStatus {
|
|
5
|
-
PENDING = 'Pending',
|
|
6
|
-
IN_PROGRESS = 'In Progress',
|
|
7
|
-
APPROVED = 'Approved',
|
|
8
|
-
REJECTED = 'Rejected',
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@Entity({ name: 'employee_evaluation_approvals' })
|
|
12
|
-
export class EmployeeEvaluationApprovalDetails extends BaseModel {
|
|
13
|
-
@Column({ type: 'integer', nullable: false })
|
|
14
|
-
request_id: number;
|
|
15
|
-
|
|
16
|
-
@Column({ type: 'integer', nullable: true })
|
|
17
|
-
service_id: number | null;
|
|
18
|
-
|
|
19
|
-
@Column({ type: 'integer', nullable: true })
|
|
20
|
-
sub_service_id: number | null;
|
|
21
|
-
|
|
22
|
-
@Column({ type: 'integer', nullable: false })
|
|
23
|
-
level: number;
|
|
24
|
-
|
|
25
|
-
@Column({ type: 'integer', nullable: false })
|
|
26
|
-
approver_role_id: number;
|
|
27
|
-
|
|
28
|
-
@Column({ type: 'integer', nullable: true })
|
|
29
|
-
department_id: number | null;
|
|
30
|
-
|
|
31
|
-
@Column({ type: 'integer', nullable: true })
|
|
32
|
-
section_id: number | null;
|
|
33
|
-
|
|
34
|
-
@Column({ type: 'integer', nullable: true })
|
|
35
|
-
approver_user_id: number | null;
|
|
36
|
-
|
|
37
|
-
@Column({ type: 'integer', nullable: true })
|
|
38
|
-
delegate_user_id: number | null;
|
|
39
|
-
|
|
40
|
-
@Column({ type: 'integer', nullable: true })
|
|
41
|
-
approved_by: number | null;
|
|
42
|
-
|
|
43
|
-
@Column({ type: 'varchar', length: 500, nullable: true, default: '' })
|
|
44
|
-
comment: string;
|
|
45
|
-
|
|
46
|
-
@Column({
|
|
47
|
-
type: 'enum',
|
|
48
|
-
enum: EmployeeEvaluationApprovalStatus,
|
|
49
|
-
default: EmployeeEvaluationApprovalStatus.PENDING,
|
|
50
|
-
nullable: false,
|
|
51
|
-
})
|
|
52
|
-
approval_status: EmployeeEvaluationApprovalStatus;
|
|
53
|
-
|
|
54
|
-
@Column({ type: 'boolean', default: true, nullable: false })
|
|
55
|
-
is_allowed: boolean;
|
|
56
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Column, Entity } from 'typeorm';
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
|
|
4
|
-
@Entity({ name: 'employee_evaluation_attachments' })
|
|
5
|
-
export class EmployeeEvaluationRequestAttachment extends BaseModel {
|
|
6
|
-
@Column({ type: 'integer', nullable: false })
|
|
7
|
-
request_id: number;
|
|
8
|
-
|
|
9
|
-
@Column({ type: 'integer', nullable: true })
|
|
10
|
-
service_id: number | null;
|
|
11
|
-
|
|
12
|
-
@Column({ type: 'integer', nullable: true })
|
|
13
|
-
sub_service_id: number | null;
|
|
14
|
-
|
|
15
|
-
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
16
|
-
file_url: string;
|
|
17
|
-
|
|
18
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
19
|
-
file_name: string | null;
|
|
20
|
-
|
|
21
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
22
|
-
file_type: string | null;
|
|
23
|
-
|
|
24
|
-
@Column({ type: 'bigint', nullable: true })
|
|
25
|
-
file_size: number | null;
|
|
26
|
-
|
|
27
|
-
@Column({ type: 'integer', nullable: true })
|
|
28
|
-
chat_id: number | null;
|
|
29
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Column, Entity } from 'typeorm';
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
|
|
4
|
-
export enum EmployeeEvaluationMessageType {
|
|
5
|
-
TEXT = 'text',
|
|
6
|
-
IMAGE = 'image',
|
|
7
|
-
VIDEO = 'video',
|
|
8
|
-
FILE = 'file',
|
|
9
|
-
LINK = 'link',
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@Entity({ name: 'employee_evaluation_chats' })
|
|
13
|
-
export class EmployeeEvaluationRequestChat extends BaseModel {
|
|
14
|
-
@Column({ type: 'integer', nullable: false })
|
|
15
|
-
request_id: number;
|
|
16
|
-
|
|
17
|
-
@Column({ type: 'integer', nullable: true })
|
|
18
|
-
service_id: number | null;
|
|
19
|
-
|
|
20
|
-
@Column({ type: 'integer', nullable: true })
|
|
21
|
-
sub_service_id: number | null;
|
|
22
|
-
|
|
23
|
-
@Column({ type: 'integer', nullable: false })
|
|
24
|
-
user_id: number;
|
|
25
|
-
|
|
26
|
-
@Column({ type: 'integer', nullable: true })
|
|
27
|
-
role_id: number | null;
|
|
28
|
-
|
|
29
|
-
@Column({ type: 'text', nullable: false })
|
|
30
|
-
message: string;
|
|
31
|
-
|
|
32
|
-
@Column({
|
|
33
|
-
type: 'enum',
|
|
34
|
-
enum: EmployeeEvaluationMessageType,
|
|
35
|
-
default: EmployeeEvaluationMessageType.TEXT,
|
|
36
|
-
nullable: false,
|
|
37
|
-
})
|
|
38
|
-
message_type: EmployeeEvaluationMessageType;
|
|
39
|
-
|
|
40
|
-
@Column({ type: 'text', nullable: true })
|
|
41
|
-
status: string | null;
|
|
42
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm';
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
import { EmployeeEvaluationRequests } from './EmployeeEvaluationRequestModel';
|
|
4
|
-
|
|
5
|
-
export enum EmployeeEvaluationUsFeedback {
|
|
6
|
-
EXCELLENT = 'Excellent',
|
|
7
|
-
VERY_GOOD = 'Very good',
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@Entity({ name: 'employee_evaluations' })
|
|
11
|
-
export class EmployeeEvaluation extends BaseModel {
|
|
12
|
-
@ManyToOne(() => EmployeeEvaluationRequests, { onDelete: 'CASCADE' })
|
|
13
|
-
@JoinColumn({ name: 'evaluation_request_id' })
|
|
14
|
-
evaluation_request: EmployeeEvaluationRequests;
|
|
15
|
-
|
|
16
|
-
@Column({ type: 'int', nullable: false })
|
|
17
|
-
user_id: number;
|
|
18
|
-
|
|
19
|
-
/** Snapshot of section/question structure from masters at request creation (JSON). */
|
|
20
|
-
@Column({ type: 'jsonb', nullable: true })
|
|
21
|
-
dynamic_evaluation_form: Record<string, unknown> | null;
|
|
22
|
-
|
|
23
|
-
@Column({ type: 'boolean', default: false })
|
|
24
|
-
is_rca: boolean;
|
|
25
|
-
|
|
26
|
-
@Column({
|
|
27
|
-
type: 'enum',
|
|
28
|
-
enum: EmployeeEvaluationUsFeedback,
|
|
29
|
-
nullable: true,
|
|
30
|
-
})
|
|
31
|
-
us_feedback: EmployeeEvaluationUsFeedback | null;
|
|
32
|
-
|
|
33
|
-
@Column({ type: 'float', nullable: true })
|
|
34
|
-
section_total_score: number | null;
|
|
35
|
-
|
|
36
|
-
@Column({ type: 'float', nullable: true })
|
|
37
|
-
final_total_score: number | null;
|
|
38
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Column, Entity } from 'typeorm';
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
|
|
4
|
-
export enum EmployeeEvaluationRequestStatus {
|
|
5
|
-
PENDING = 'Pending',
|
|
6
|
-
IN_PROGRESS = 'In Progress',
|
|
7
|
-
APPROVED = 'Approved',
|
|
8
|
-
REJECTED = 'Rejected',
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/** Routing bucket derived from undersecretary department (US Political / Administrative / Finance). */
|
|
12
|
-
export enum EmployeeEvaluationRoutingBucket {
|
|
13
|
-
US_POLITICAL = 'US_POLITICAL',
|
|
14
|
-
US_ADMINISTRATIVE = 'US_ADMINISTRATIVE',
|
|
15
|
-
FINANCE = 'FINANCE',
|
|
16
|
-
OTHER = 'OTHER',
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@Entity({ name: 'employee_evaluation_requests' })
|
|
20
|
-
export class EmployeeEvaluationRequests extends BaseModel {
|
|
21
|
-
@Column({ type: 'int', nullable: true })
|
|
22
|
-
req_user_department_id: number | null;
|
|
23
|
-
|
|
24
|
-
@Column({ type: 'int', nullable: true })
|
|
25
|
-
req_user_section_id: number | null;
|
|
26
|
-
|
|
27
|
-
@Column({ type: 'int', nullable: true })
|
|
28
|
-
service_id: number | null;
|
|
29
|
-
|
|
30
|
-
@Column({ type: 'int', nullable: true })
|
|
31
|
-
sub_service_id: number | null;
|
|
32
|
-
|
|
33
|
-
/** User who raised the request (e.g. HOD). */
|
|
34
|
-
@Column({ type: 'int', nullable: false })
|
|
35
|
-
user_id: number;
|
|
36
|
-
|
|
37
|
-
@Column({ type: 'int', nullable: false })
|
|
38
|
-
evaluation_year: number;
|
|
39
|
-
|
|
40
|
-
@Column({ type: 'varchar', length: 120, nullable: false })
|
|
41
|
-
evaluation_period: string;
|
|
42
|
-
|
|
43
|
-
@Column({ type: 'int', nullable: false })
|
|
44
|
-
evaluation_month: number;
|
|
45
|
-
|
|
46
|
-
/** Scope: employees must belong to this department. */
|
|
47
|
-
@Column({ type: 'int', nullable: false })
|
|
48
|
-
department_id: number;
|
|
49
|
-
|
|
50
|
-
/** Scope: employees must belong to this section. */
|
|
51
|
-
@Column({ type: 'int', nullable: false })
|
|
52
|
-
section_id: number;
|
|
53
|
-
|
|
54
|
-
@Column({ type: 'bigint', nullable: true })
|
|
55
|
-
undersecretary_department_id: number | null;
|
|
56
|
-
|
|
57
|
-
@Column({
|
|
58
|
-
type: 'enum',
|
|
59
|
-
enum: EmployeeEvaluationRoutingBucket,
|
|
60
|
-
nullable: true,
|
|
61
|
-
})
|
|
62
|
-
evaluation_routing_bucket: EmployeeEvaluationRoutingBucket | null;
|
|
63
|
-
|
|
64
|
-
@Column({
|
|
65
|
-
type: 'enum',
|
|
66
|
-
enum: EmployeeEvaluationRequestStatus,
|
|
67
|
-
default: EmployeeEvaluationRequestStatus.PENDING,
|
|
68
|
-
nullable: false,
|
|
69
|
-
})
|
|
70
|
-
status: EmployeeEvaluationRequestStatus;
|
|
71
|
-
|
|
72
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
73
|
-
workflow_execution_id: string | null;
|
|
74
|
-
|
|
75
|
-
@Column({ type: 'text', nullable: true })
|
|
76
|
-
comments: string | null;
|
|
77
|
-
}
|