@platform-modules/foreign-ministry 1.3.212 → 1.3.213
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 +3 -17
- package/dist/data-source.js +10 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/models/EmbassyMasterModel.d.ts +16 -0
- package/dist/models/EmbassyMasterModel.js +75 -0
- package/dist/models/ResignationTerminationApprovalModel.d.ts +22 -0
- package/dist/models/ResignationTerminationApprovalModel.js +79 -0
- package/dist/models/ResignationTerminationAttachmentModel.d.ts +11 -0
- package/dist/models/ResignationTerminationAttachmentModel.js +52 -0
- package/dist/models/ResignationTerminationChatModel.d.ts +17 -0
- package/dist/models/ResignationTerminationChatModel.js +76 -0
- package/dist/models/ResignationTerminationRequestModel.d.ts +30 -0
- package/dist/models/ResignationTerminationRequestModel.js +108 -0
- package/dist/models/ResignationTerminationWorkflowModel.d.ts +17 -0
- package/dist/models/ResignationTerminationWorkflowModel.js +62 -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 +10 -0
- package/src/index.ts +5 -0
- package/src/models/FinancialWorkFlowModel.ts +15 -15
- package/src/models/GatePassVisitorsModel.ts +7 -7
- package/src/models/PollOptionsModel.ts +26 -26
- package/src/models/PollVotesModel.ts +37 -37
- package/src/models/PollsModel.ts +49 -49
- package/src/models/RegisterCandidateRequestModel.ts +183 -183
- package/src/models/ResignationTerminationApprovalModel.ts +51 -0
- package/src/models/ResignationTerminationAttachmentModel.ts +30 -0
- package/src/models/ResignationTerminationChatModel.ts +63 -0
- package/src/models/ResignationTerminationRequestModel.ts +76 -0
- package/src/models/ResignationTerminationWorkflowModel.ts +38 -0
- package/src/models/TelephoneDirectoryModel.ts +20 -20
- package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
- package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
- package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
- package/dist/models/HelpContentMappedTagsModel.js +0 -34
- package/dist/models/HelpContentTagsModel.d.ts +0 -5
- package/dist/models/HelpContentTagsModel.js +0 -29
- package/dist/models/questionTagsModel.d.ts +0 -6
- package/dist/models/questionTagsModel.js +0 -34
- /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
package/.env
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
# DB_PORT=5433
|
|
3
|
-
# DB_USER=postgres
|
|
4
|
-
# DB_PASS=123
|
|
5
|
-
# DB_NAME=FM
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
DB_HOST=164.52.222.169
|
|
1
|
+
DB_HOST=localhost
|
|
10
2
|
DB_PORT=5432
|
|
11
|
-
DB_USER=
|
|
12
|
-
DB_PASS=
|
|
3
|
+
DB_USER=postgres
|
|
4
|
+
DB_PASS=Fa@123
|
|
13
5
|
DB_NAME=FM
|
|
14
|
-
|
|
15
|
-
# DB_HOST=216.48.187.46
|
|
16
|
-
# DB_PORT=5432
|
|
17
|
-
# DB_USER=adminuser
|
|
18
|
-
# DB_PASS=postgres_caa_fm_qa_34567
|
|
19
|
-
# DB_NAME=FM_QA
|
package/dist/data-source.js
CHANGED
|
@@ -111,6 +111,11 @@ const RegisterCandidateAttachmentModel_1 = require("./models/RegisterCandidateAt
|
|
|
111
111
|
const RegisterCandidateChatModel_1 = require("./models/RegisterCandidateChatModel");
|
|
112
112
|
const RegisterCandidateWorkflowModel_1 = require("./models/RegisterCandidateWorkflowModel");
|
|
113
113
|
const RegisterCandidateExperienceActivityModel_1 = require("./models/RegisterCandidateExperienceActivityModel");
|
|
114
|
+
const ResignationTerminationRequestModel_1 = require("./models/ResignationTerminationRequestModel");
|
|
115
|
+
const ResignationTerminationApprovalModel_1 = require("./models/ResignationTerminationApprovalModel");
|
|
116
|
+
const ResignationTerminationAttachmentModel_1 = require("./models/ResignationTerminationAttachmentModel");
|
|
117
|
+
const ResignationTerminationChatModel_1 = require("./models/ResignationTerminationChatModel");
|
|
118
|
+
const ResignationTerminationWorkflowModel_1 = require("./models/ResignationTerminationWorkflowModel");
|
|
114
119
|
const LMSCourseExternalLecturerRequestModel_1 = require("./models/LMSCourseExternalLecturerRequestModel");
|
|
115
120
|
const LMSCourseExternalLecturerApprovalModel_1 = require("./models/LMSCourseExternalLecturerApprovalModel");
|
|
116
121
|
const LMSCourseExternalLecturerAttachmentModel_1 = require("./models/LMSCourseExternalLecturerAttachmentModel");
|
|
@@ -328,6 +333,11 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
328
333
|
RegisterCandidateChatModel_1.RegisterCandidateRequestChat,
|
|
329
334
|
RegisterCandidateWorkflowModel_1.RegisterCandidateWorkFlow,
|
|
330
335
|
RegisterCandidateExperienceActivityModel_1.RegisterCandidateExperienceActivity,
|
|
336
|
+
ResignationTerminationRequestModel_1.ResignationTerminationRequests,
|
|
337
|
+
ResignationTerminationApprovalModel_1.ResignationTerminationApprovalDetails,
|
|
338
|
+
ResignationTerminationAttachmentModel_1.ResignationTerminationRequestAttachment,
|
|
339
|
+
ResignationTerminationChatModel_1.ResignationTerminationRequestChat,
|
|
340
|
+
ResignationTerminationWorkflowModel_1.ResignationTerminationWorkFlow,
|
|
331
341
|
LMSCourseExternalLecturerRequestModel_1.LMSCourseExternalLecturerRequests,
|
|
332
342
|
LMSCourseExternalLecturerApprovalModel_1.LMSCourseExternalLecturerApprovalDetails,
|
|
333
343
|
LMSCourseExternalLecturerAttachmentModel_1.LMSCourseExternalLecturerRequestAttachment,
|
package/dist/index.d.ts
CHANGED
|
@@ -113,6 +113,11 @@ export * from './models/RegisterCandidateChatModel';
|
|
|
113
113
|
export * from './models/RegisterCandidateWorkflowModel';
|
|
114
114
|
export * from './models/RegisterCandidateExperienceActivityModel';
|
|
115
115
|
export { RegisterCandidateExperienceActivity } from './models/RegisterCandidateExperienceActivityModel';
|
|
116
|
+
export * from './models/ResignationTerminationRequestModel';
|
|
117
|
+
export * from './models/ResignationTerminationApprovalModel';
|
|
118
|
+
export * from './models/ResignationTerminationAttachmentModel';
|
|
119
|
+
export * from './models/ResignationTerminationChatModel';
|
|
120
|
+
export * from './models/ResignationTerminationWorkflowModel';
|
|
116
121
|
export * from './models/LMSCourseExternalLecturerRequestModel';
|
|
117
122
|
export * from './models/LMSCourseExternalLecturerApprovalModel';
|
|
118
123
|
export * from './models/LMSCourseExternalLecturerAttachmentModel';
|
package/dist/index.js
CHANGED
|
@@ -131,6 +131,11 @@ __exportStar(require("./models/RegisterCandidateWorkflowModel"), exports);
|
|
|
131
131
|
__exportStar(require("./models/RegisterCandidateExperienceActivityModel"), exports);
|
|
132
132
|
var RegisterCandidateExperienceActivityModel_1 = require("./models/RegisterCandidateExperienceActivityModel");
|
|
133
133
|
Object.defineProperty(exports, "RegisterCandidateExperienceActivity", { enumerable: true, get: function () { return RegisterCandidateExperienceActivityModel_1.RegisterCandidateExperienceActivity; } });
|
|
134
|
+
__exportStar(require("./models/ResignationTerminationRequestModel"), exports);
|
|
135
|
+
__exportStar(require("./models/ResignationTerminationApprovalModel"), exports);
|
|
136
|
+
__exportStar(require("./models/ResignationTerminationAttachmentModel"), exports);
|
|
137
|
+
__exportStar(require("./models/ResignationTerminationChatModel"), exports);
|
|
138
|
+
__exportStar(require("./models/ResignationTerminationWorkflowModel"), exports);
|
|
134
139
|
__exportStar(require("./models/LMSCourseExternalLecturerRequestModel"), exports);
|
|
135
140
|
__exportStar(require("./models/LMSCourseExternalLecturerApprovalModel"), exports);
|
|
136
141
|
__exportStar(require("./models/LMSCourseExternalLecturerAttachmentModel"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class EmbassyMaster extends BaseModel {
|
|
3
|
+
embassy_name: string;
|
|
4
|
+
embassy_name_arabic: string | null;
|
|
5
|
+
country_id: number | null;
|
|
6
|
+
city: string | null;
|
|
7
|
+
address: string | null;
|
|
8
|
+
phone: string | null;
|
|
9
|
+
fax: string | null;
|
|
10
|
+
email: string | null;
|
|
11
|
+
website: string | null;
|
|
12
|
+
description: string | null;
|
|
13
|
+
is_active: boolean;
|
|
14
|
+
display_order: number;
|
|
15
|
+
constructor(embassy_name: string);
|
|
16
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.EmbassyMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let EmbassyMaster = class EmbassyMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(embassy_name) {
|
|
17
|
+
super();
|
|
18
|
+
this.embassy_name = embassy_name;
|
|
19
|
+
this.is_active = true;
|
|
20
|
+
this.display_order = 0;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.EmbassyMaster = EmbassyMaster;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EmbassyMaster.prototype, "embassy_name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], EmbassyMaster.prototype, "embassy_name_arabic", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], EmbassyMaster.prototype, "country_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], EmbassyMaster.prototype, "city", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], EmbassyMaster.prototype, "address", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], EmbassyMaster.prototype, "phone", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], EmbassyMaster.prototype, "fax", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], EmbassyMaster.prototype, "email", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], EmbassyMaster.prototype, "website", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], EmbassyMaster.prototype, "description", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], EmbassyMaster.prototype, "is_active", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'int', default: 0 }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], EmbassyMaster.prototype, "display_order", void 0);
|
|
72
|
+
exports.EmbassyMaster = EmbassyMaster = __decorate([
|
|
73
|
+
(0, typeorm_1.Entity)({ name: 'embassy_master' }),
|
|
74
|
+
__metadata("design:paramtypes", [String])
|
|
75
|
+
], EmbassyMaster);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ResignationTerminationApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class ResignationTerminationApprovalDetails extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number | null;
|
|
11
|
+
sub_service_id: number | null;
|
|
12
|
+
level: number;
|
|
13
|
+
approver_role_id: number;
|
|
14
|
+
department_id: number | null;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
approver_user_id: number | null;
|
|
17
|
+
delegate_user_id: number | null;
|
|
18
|
+
approved_by: number | null;
|
|
19
|
+
comment: string;
|
|
20
|
+
approval_status: ResignationTerminationApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.ResignationTerminationApprovalDetails = exports.ResignationTerminationApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ResignationTerminationApprovalStatus;
|
|
16
|
+
(function (ResignationTerminationApprovalStatus) {
|
|
17
|
+
ResignationTerminationApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
ResignationTerminationApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
ResignationTerminationApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
ResignationTerminationApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(ResignationTerminationApprovalStatus || (exports.ResignationTerminationApprovalStatus = ResignationTerminationApprovalStatus = {}));
|
|
22
|
+
let ResignationTerminationApprovalDetails = class ResignationTerminationApprovalDetails extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.ResignationTerminationApprovalDetails = ResignationTerminationApprovalDetails;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ResignationTerminationApprovalDetails.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], ResignationTerminationApprovalDetails.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], ResignationTerminationApprovalDetails.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ResignationTerminationApprovalDetails.prototype, "level", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], ResignationTerminationApprovalDetails.prototype, "approver_role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], ResignationTerminationApprovalDetails.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], ResignationTerminationApprovalDetails.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], ResignationTerminationApprovalDetails.prototype, "approver_user_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], ResignationTerminationApprovalDetails.prototype, "delegate_user_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], ResignationTerminationApprovalDetails.prototype, "approved_by", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true, default: '' }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], ResignationTerminationApprovalDetails.prototype, "comment", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: ResignationTerminationApprovalStatus, default: ResignationTerminationApprovalStatus.PENDING, nullable: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], ResignationTerminationApprovalDetails.prototype, "approval_status", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], ResignationTerminationApprovalDetails.prototype, "is_allowed", void 0);
|
|
77
|
+
exports.ResignationTerminationApprovalDetails = ResignationTerminationApprovalDetails = __decorate([
|
|
78
|
+
(0, typeorm_1.Entity)({ name: 'resignation_termination_approvals' })
|
|
79
|
+
], ResignationTerminationApprovalDetails);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class ResignationTerminationRequestAttachment extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number | null;
|
|
5
|
+
sub_service_id: number | null;
|
|
6
|
+
file_url: string;
|
|
7
|
+
file_name: string;
|
|
8
|
+
file_type: string;
|
|
9
|
+
file_size: number | null;
|
|
10
|
+
chat_id: number | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.ResignationTerminationRequestAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ResignationTerminationRequestAttachment = class ResignationTerminationRequestAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.ResignationTerminationRequestAttachment = ResignationTerminationRequestAttachment;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ResignationTerminationRequestAttachment.prototype, "request_id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], ResignationTerminationRequestAttachment.prototype, "service_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], ResignationTerminationRequestAttachment.prototype, "sub_service_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], ResignationTerminationRequestAttachment.prototype, "file_url", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ResignationTerminationRequestAttachment.prototype, "file_name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ResignationTerminationRequestAttachment.prototype, "file_type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], ResignationTerminationRequestAttachment.prototype, "file_size", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], ResignationTerminationRequestAttachment.prototype, "chat_id", void 0);
|
|
50
|
+
exports.ResignationTerminationRequestAttachment = ResignationTerminationRequestAttachment = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)({ name: 'resignation_termination_attachments' })
|
|
52
|
+
], ResignationTerminationRequestAttachment);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ResignationTerminationMessageType {
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
FILE = "file",
|
|
5
|
+
LINK = "link"
|
|
6
|
+
}
|
|
7
|
+
export declare class ResignationTerminationRequestChat extends BaseModel {
|
|
8
|
+
request_id: number;
|
|
9
|
+
service_id: number | null;
|
|
10
|
+
sub_service_id: number | null;
|
|
11
|
+
user_id: number;
|
|
12
|
+
role_id: number;
|
|
13
|
+
message: string;
|
|
14
|
+
messageType: ResignationTerminationMessageType;
|
|
15
|
+
status: string;
|
|
16
|
+
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: ResignationTerminationMessageType, status?: string);
|
|
17
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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.ResignationTerminationRequestChat = exports.ResignationTerminationMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const ResignationTerminationApprovalModel_1 = require("./ResignationTerminationApprovalModel");
|
|
16
|
+
var ResignationTerminationMessageType;
|
|
17
|
+
(function (ResignationTerminationMessageType) {
|
|
18
|
+
ResignationTerminationMessageType["TEXT"] = "text";
|
|
19
|
+
ResignationTerminationMessageType["FILE"] = "file";
|
|
20
|
+
ResignationTerminationMessageType["LINK"] = "link";
|
|
21
|
+
})(ResignationTerminationMessageType || (exports.ResignationTerminationMessageType = ResignationTerminationMessageType = {}));
|
|
22
|
+
let ResignationTerminationRequestChat = class ResignationTerminationRequestChat extends BaseModel_1.BaseModel {
|
|
23
|
+
constructor(request_id, user_id, role_id, message, service_id, sub_service_id, messageType, status) {
|
|
24
|
+
super();
|
|
25
|
+
this.request_id = request_id;
|
|
26
|
+
this.service_id = service_id || null;
|
|
27
|
+
this.sub_service_id = sub_service_id || null;
|
|
28
|
+
this.user_id = user_id;
|
|
29
|
+
this.role_id = role_id;
|
|
30
|
+
this.message = message;
|
|
31
|
+
this.messageType = messageType || ResignationTerminationMessageType.TEXT;
|
|
32
|
+
this.status = status || ResignationTerminationApprovalModel_1.ResignationTerminationApprovalStatus.PENDING;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.ResignationTerminationRequestChat = ResignationTerminationRequestChat;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], ResignationTerminationRequestChat.prototype, "request_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], ResignationTerminationRequestChat.prototype, "service_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], ResignationTerminationRequestChat.prototype, "sub_service_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], ResignationTerminationRequestChat.prototype, "user_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], ResignationTerminationRequestChat.prototype, "role_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], ResignationTerminationRequestChat.prototype, "message", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({
|
|
62
|
+
type: 'enum',
|
|
63
|
+
enum: ResignationTerminationMessageType,
|
|
64
|
+
default: ResignationTerminationMessageType.TEXT,
|
|
65
|
+
nullable: false
|
|
66
|
+
}),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], ResignationTerminationRequestChat.prototype, "messageType", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], ResignationTerminationRequestChat.prototype, "status", void 0);
|
|
73
|
+
exports.ResignationTerminationRequestChat = ResignationTerminationRequestChat = __decorate([
|
|
74
|
+
(0, typeorm_1.Entity)({ name: 'resignation_termination_chats' }),
|
|
75
|
+
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
76
|
+
], ResignationTerminationRequestChat);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ResignationTerminationStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
ASSIGNED = "Assigned",
|
|
5
|
+
IN_PROGRESS = "In Progress",
|
|
6
|
+
APPROVED = "Approved",
|
|
7
|
+
REJECTED = "Rejected"
|
|
8
|
+
}
|
|
9
|
+
export declare class ResignationTerminationRequests extends BaseModel {
|
|
10
|
+
req_user_department_id: number | null;
|
|
11
|
+
req_user_section_id: number | null;
|
|
12
|
+
service_id: number | null;
|
|
13
|
+
sub_service_id: number | null;
|
|
14
|
+
user_id: number;
|
|
15
|
+
employee_type: string | null;
|
|
16
|
+
employee_name: string | null;
|
|
17
|
+
reason: string | null;
|
|
18
|
+
description: string | null;
|
|
19
|
+
notice_period_need_to_serve: boolean | null;
|
|
20
|
+
date_of_issuing_resignation_day: Date | null;
|
|
21
|
+
last_working_day: Date | null;
|
|
22
|
+
end_of_service_eligibility_amount: string | null;
|
|
23
|
+
amount: number | null;
|
|
24
|
+
applicable_based_on_resignation_type: string | null;
|
|
25
|
+
date_of_joining: Date | null;
|
|
26
|
+
leave_balance: string | null;
|
|
27
|
+
actual_retirement_date: Date | null;
|
|
28
|
+
status: ResignationTerminationStatus;
|
|
29
|
+
workflow_execution_id: string | null;
|
|
30
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.ResignationTerminationRequests = exports.ResignationTerminationStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ResignationTerminationStatus;
|
|
16
|
+
(function (ResignationTerminationStatus) {
|
|
17
|
+
ResignationTerminationStatus["PENDING"] = "Pending";
|
|
18
|
+
ResignationTerminationStatus["ASSIGNED"] = "Assigned";
|
|
19
|
+
ResignationTerminationStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
+
ResignationTerminationStatus["APPROVED"] = "Approved";
|
|
21
|
+
ResignationTerminationStatus["REJECTED"] = "Rejected";
|
|
22
|
+
})(ResignationTerminationStatus || (exports.ResignationTerminationStatus = ResignationTerminationStatus = {}));
|
|
23
|
+
let ResignationTerminationRequests = class ResignationTerminationRequests extends BaseModel_1.BaseModel {
|
|
24
|
+
};
|
|
25
|
+
exports.ResignationTerminationRequests = ResignationTerminationRequests;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], ResignationTerminationRequests.prototype, "req_user_department_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], ResignationTerminationRequests.prototype, "req_user_section_id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], ResignationTerminationRequests.prototype, "service_id", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], ResignationTerminationRequests.prototype, "sub_service_id", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], ResignationTerminationRequests.prototype, "user_id", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], ResignationTerminationRequests.prototype, "employee_type", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], ResignationTerminationRequests.prototype, "employee_name", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
56
|
+
__metadata("design:type", Object)
|
|
57
|
+
], ResignationTerminationRequests.prototype, "reason", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], ResignationTerminationRequests.prototype, "description", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ type: 'boolean', nullable: true }),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], ResignationTerminationRequests.prototype, "notice_period_need_to_serve", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
68
|
+
__metadata("design:type", Object)
|
|
69
|
+
], ResignationTerminationRequests.prototype, "date_of_issuing_resignation_day", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], ResignationTerminationRequests.prototype, "last_working_day", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
76
|
+
__metadata("design:type", Object)
|
|
77
|
+
], ResignationTerminationRequests.prototype, "end_of_service_eligibility_amount", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: true }),
|
|
80
|
+
__metadata("design:type", Object)
|
|
81
|
+
], ResignationTerminationRequests.prototype, "amount", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
84
|
+
__metadata("design:type", Object)
|
|
85
|
+
], ResignationTerminationRequests.prototype, "applicable_based_on_resignation_type", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
88
|
+
__metadata("design:type", Object)
|
|
89
|
+
], ResignationTerminationRequests.prototype, "date_of_joining", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
92
|
+
__metadata("design:type", Object)
|
|
93
|
+
], ResignationTerminationRequests.prototype, "leave_balance", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
96
|
+
__metadata("design:type", Object)
|
|
97
|
+
], ResignationTerminationRequests.prototype, "actual_retirement_date", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: ResignationTerminationStatus, default: ResignationTerminationStatus.PENDING, nullable: false }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], ResignationTerminationRequests.prototype, "status", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
104
|
+
__metadata("design:type", Object)
|
|
105
|
+
], ResignationTerminationRequests.prototype, "workflow_execution_id", void 0);
|
|
106
|
+
exports.ResignationTerminationRequests = ResignationTerminationRequests = __decorate([
|
|
107
|
+
(0, typeorm_1.Entity)({ name: 'resignation_termination_requests' })
|
|
108
|
+
], ResignationTerminationRequests);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ResignationTerminationWorkFlowStatus {
|
|
3
|
+
NOT_YET_STARTED = "Not Yet Started",
|
|
4
|
+
COMPLETED = "Completed",
|
|
5
|
+
PENDING = "Pending"
|
|
6
|
+
}
|
|
7
|
+
export declare class ResignationTerminationWorkFlow extends BaseModel {
|
|
8
|
+
request_id: number;
|
|
9
|
+
service_id: number | null;
|
|
10
|
+
sub_service_id: number | null;
|
|
11
|
+
content: string;
|
|
12
|
+
status: ResignationTerminationWorkFlowStatus;
|
|
13
|
+
user_id: number | null;
|
|
14
|
+
role_id: number | null;
|
|
15
|
+
department_id: number | null;
|
|
16
|
+
section_id: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.ResignationTerminationWorkFlow = exports.ResignationTerminationWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ResignationTerminationWorkFlowStatus;
|
|
16
|
+
(function (ResignationTerminationWorkFlowStatus) {
|
|
17
|
+
ResignationTerminationWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
|
|
18
|
+
ResignationTerminationWorkFlowStatus["COMPLETED"] = "Completed";
|
|
19
|
+
ResignationTerminationWorkFlowStatus["PENDING"] = "Pending";
|
|
20
|
+
})(ResignationTerminationWorkFlowStatus || (exports.ResignationTerminationWorkFlowStatus = ResignationTerminationWorkFlowStatus = {}));
|
|
21
|
+
let ResignationTerminationWorkFlow = class ResignationTerminationWorkFlow extends BaseModel_1.BaseModel {
|
|
22
|
+
};
|
|
23
|
+
exports.ResignationTerminationWorkFlow = ResignationTerminationWorkFlow;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], ResignationTerminationWorkFlow.prototype, "request_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], ResignationTerminationWorkFlow.prototype, "service_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], ResignationTerminationWorkFlow.prototype, "sub_service_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], ResignationTerminationWorkFlow.prototype, "content", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: ResignationTerminationWorkFlowStatus, default: ResignationTerminationWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ResignationTerminationWorkFlow.prototype, "status", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], ResignationTerminationWorkFlow.prototype, "user_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], ResignationTerminationWorkFlow.prototype, "role_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], ResignationTerminationWorkFlow.prototype, "department_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], ResignationTerminationWorkFlow.prototype, "section_id", void 0);
|
|
60
|
+
exports.ResignationTerminationWorkFlow = ResignationTerminationWorkFlow = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)({ name: 'resignation_termination_workflows' })
|
|
62
|
+
], ResignationTerminationWorkFlow);
|