@platform-modules/civil-aviation-authority 2.3.125 → 2.3.126
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/dist/index.d.ts
CHANGED
|
@@ -183,6 +183,8 @@ export { AssignTasksEmpRequestChat } from './models/AssignTasksEmpChatModel';
|
|
|
183
183
|
export { AssignTasksEmpMessageType } from './models/AssignTasksEmpChatModel';
|
|
184
184
|
export * from './models/ShiftAllowanceRequestModel';
|
|
185
185
|
export { ShiftAllowanceRequestStatus, ShiftAllowanceValue } from './models/ShiftAllowanceRequestModel';
|
|
186
|
+
export * from './models/RequestForProjectApprovalModel';
|
|
187
|
+
export { RequestForProjectApprovalStatus } from './models/RequestForProjectApprovalModel';
|
|
186
188
|
export * from './models/JobTransferRequestModel';
|
|
187
189
|
export { JobTransferRequestStatus } from './models/JobTransferRequestModel';
|
|
188
190
|
export * from './models/NewResourceRequestModel';
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.RequestForCoverageWorkFlowStatus = exports.RequestForCoverageNewsSize = exports.RequestForCoverageRequestStatus = exports.ServiceTransferRequestType = exports.SalaryDetailsType = exports.ServiceTransferRequestStatus = exports.TemporaryAssignmentRequestType = exports.TemporaryAssignmentRequestStatus = exports.SecondmentRequestStatus = exports.TrainingRoomBookingChatStatus = exports.TrainingRoomBookingMessageType = exports.TrainingRoomBookingRequestChat = exports.TrainingRoomBookingRequestAttachment = exports.TrainingRoomBookingWorkFlowStatus = exports.TrainingRoomBookingApprovalStatus = exports.TrainingRoomBookingRoomType = exports.TrainingRoomBookingRequestStatus = exports.AnnualTrainingPlanChatStatus = exports.AnnualTrainingPlanMessageType = exports.AnnualTrainingPlanRequestChat = exports.AnnualTrainingPlanRequestAttachment = exports.AnnualTrainingPlanWorkFlowStatus = exports.AnnualTrainingPlanApprovalStatus = exports.AnnualTrainingPlanPlace = exports.AnnualTrainingPlanRequestStatus = exports.StudyLeaveChatStatus = exports.StudyLeaveMessageType = exports.StudyLeaveRequestChat = exports.StudyLeaveRequestAttachment = exports.StudyLeaveWorkFlowStatus = exports.StudyLeaveApprovalStatus = exports.StudyLeaveRequestStatus = exports.TrainingMessageType = exports.TrainingRequestChat = exports.TrainingRequestAttachment = exports.TrainingWorkFlowStatus = exports.TrainingApprovalStatus = exports.TrainingRequestStatus = exports.HrServiceChatStatus = exports.HrServiceMessageType = exports.HrServiceRequestChat = exports.HrServiceRequestAttachment = exports.HrServiceWorkFlowStatus = exports.HrServiceApprovalStatus = exports.HrServiceRequestStatus = exports.LogisticsVehicleMaintenanceWorkFlowStatus = exports.LogisticsVehicleMaintenanceMessageType = exports.LogisticsVehicleMaintenanceApprovalStatus = exports.VehicleMaintenanceStatus = exports.VehicleMaintenanceType = void 0;
|
|
18
|
-
exports.DurationUnit = exports.RepeatFrequency = exports.Quarter = exports.HumanResourceAnnualPlanningRequestStatus = exports.PerformanceManagementCyclePeriod = exports.PerformanceManagementRequestStatus = exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
|
|
18
|
+
exports.DurationUnit = exports.RepeatFrequency = exports.Quarter = exports.HumanResourceAnnualPlanningRequestStatus = exports.PerformanceManagementCyclePeriod = exports.PerformanceManagementRequestStatus = exports.SkillsEnhancementRequestStatus = exports.AnnualIncrementRequestStatus = exports.PromotionRequestStatus = exports.CashAllowanceLeaveRequestStatus = exports.NotificationFrequency = exports.ServicesNotificationTriggerType = exports.NewResourceRequestStatus = exports.JobTransferRequestStatus = exports.RequestForProjectApprovalStatus = exports.ShiftAllowanceValue = exports.ShiftAllowanceRequestStatus = exports.AssignTasksEmpMessageType = exports.AssignTasksEmpRequestChat = exports.AssignTasksEmpRequestAttachment = exports.AssignTasksEmpWorkFlowStatus = exports.AssignTasksEmpApprovalStatus = exports.AssignTasksEmpPriority = exports.AssignTasksEmpStatus = exports.RequestForCoverageRequestAttachment = exports.RequestForCoverageChatStatus = exports.RequestForCoverageMessageType = exports.RequestForCoverageRequestChat = exports.RequestForCoverageApprovalStatus = void 0;
|
|
19
19
|
__exportStar(require("./models/user"), exports);
|
|
20
20
|
__exportStar(require("./models/role"), exports);
|
|
21
21
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -269,6 +269,10 @@ __exportStar(require("./models/ShiftAllowanceRequestModel"), exports);
|
|
|
269
269
|
var ShiftAllowanceRequestModel_1 = require("./models/ShiftAllowanceRequestModel");
|
|
270
270
|
Object.defineProperty(exports, "ShiftAllowanceRequestStatus", { enumerable: true, get: function () { return ShiftAllowanceRequestModel_1.ShiftAllowanceRequestStatus; } });
|
|
271
271
|
Object.defineProperty(exports, "ShiftAllowanceValue", { enumerable: true, get: function () { return ShiftAllowanceRequestModel_1.ShiftAllowanceValue; } });
|
|
272
|
+
// Request for Project Approval (RFP) Service
|
|
273
|
+
__exportStar(require("./models/RequestForProjectApprovalModel"), exports);
|
|
274
|
+
var RequestForProjectApprovalModel_1 = require("./models/RequestForProjectApprovalModel");
|
|
275
|
+
Object.defineProperty(exports, "RequestForProjectApprovalStatus", { enumerable: true, get: function () { return RequestForProjectApprovalModel_1.RequestForProjectApprovalStatus; } });
|
|
272
276
|
// Job Transfer (Transfer from One Job to Another Job Nature) Service
|
|
273
277
|
__exportStar(require("./models/JobTransferRequestModel"), exports);
|
|
274
278
|
var JobTransferRequestModel_1 = require("./models/JobTransferRequestModel");
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
export declare enum RequestForProjectApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
ASSIGNED = "Assigned",
|
|
5
|
+
IN_PROGRESS = "In Progress",
|
|
6
|
+
COMPLETED = "Completed",
|
|
7
|
+
APPROVED = "Approved",
|
|
8
|
+
REJECTED = "Rejected"
|
|
9
|
+
}
|
|
10
|
+
export declare class RequestForProjectApproval extends BaseModel {
|
|
11
|
+
req_user_department_id: number | null;
|
|
12
|
+
req_user_section_id: number | null;
|
|
13
|
+
req_user_position_id: number | null;
|
|
14
|
+
service_id: number | null;
|
|
15
|
+
sub_service_id: number | null;
|
|
16
|
+
user_id: number;
|
|
17
|
+
description: string | null;
|
|
18
|
+
status: RequestForProjectApprovalStatus;
|
|
19
|
+
reviewer_user_id: number | null;
|
|
20
|
+
assigned_to_user_id: number | null;
|
|
21
|
+
assigned_at: Date | null;
|
|
22
|
+
workflow_execution_id: string | null;
|
|
23
|
+
reference_number: string | null;
|
|
24
|
+
title_of_project: string;
|
|
25
|
+
request_id: string | null;
|
|
26
|
+
date_of_submission: Date;
|
|
27
|
+
phone: string;
|
|
28
|
+
department_id: number;
|
|
29
|
+
constructor(user_id: number, title_of_project: string, date_of_submission: Date, phone: string, department_id: number, status?: RequestForProjectApprovalStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, request_id?: string | null);
|
|
30
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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.RequestForProjectApproval = exports.RequestForProjectApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var RequestForProjectApprovalStatus;
|
|
16
|
+
(function (RequestForProjectApprovalStatus) {
|
|
17
|
+
RequestForProjectApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
RequestForProjectApprovalStatus["ASSIGNED"] = "Assigned";
|
|
19
|
+
RequestForProjectApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
+
RequestForProjectApprovalStatus["COMPLETED"] = "Completed";
|
|
21
|
+
RequestForProjectApprovalStatus["APPROVED"] = "Approved";
|
|
22
|
+
RequestForProjectApprovalStatus["REJECTED"] = "Rejected";
|
|
23
|
+
})(RequestForProjectApprovalStatus || (exports.RequestForProjectApprovalStatus = RequestForProjectApprovalStatus = {}));
|
|
24
|
+
let RequestForProjectApproval = class RequestForProjectApproval extends BaseModel_1.BaseModel {
|
|
25
|
+
constructor(user_id, title_of_project, date_of_submission, phone, department_id, status = RequestForProjectApprovalStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, req_user_position_id, description, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, request_id) {
|
|
26
|
+
super();
|
|
27
|
+
this.user_id = user_id;
|
|
28
|
+
this.title_of_project = title_of_project;
|
|
29
|
+
this.date_of_submission = date_of_submission;
|
|
30
|
+
this.phone = phone;
|
|
31
|
+
this.department_id = department_id;
|
|
32
|
+
this.status = status;
|
|
33
|
+
this.service_id = service_id || null;
|
|
34
|
+
this.sub_service_id = sub_service_id || null;
|
|
35
|
+
this.req_user_department_id = req_user_department_id || null;
|
|
36
|
+
this.req_user_section_id = req_user_section_id || null;
|
|
37
|
+
this.req_user_position_id = req_user_position_id || null;
|
|
38
|
+
this.description = description || null;
|
|
39
|
+
this.reviewer_user_id = reviewer_user_id || null;
|
|
40
|
+
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
41
|
+
this.assigned_at = assigned_at || null;
|
|
42
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
43
|
+
this.reference_number = null;
|
|
44
|
+
this.request_id = request_id || null;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
exports.RequestForProjectApproval = RequestForProjectApproval;
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], RequestForProjectApproval.prototype, "req_user_department_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], RequestForProjectApproval.prototype, "req_user_section_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], RequestForProjectApproval.prototype, "req_user_position_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], RequestForProjectApproval.prototype, "service_id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], RequestForProjectApproval.prototype, "sub_service_id", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], RequestForProjectApproval.prototype, "user_id", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
74
|
+
__metadata("design:type", Object)
|
|
75
|
+
], RequestForProjectApproval.prototype, "description", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({ type: "enum", enum: RequestForProjectApprovalStatus, default: RequestForProjectApprovalStatus.PENDING, nullable: false }),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], RequestForProjectApproval.prototype, "status", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], RequestForProjectApproval.prototype, "reviewer_user_id", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], RequestForProjectApproval.prototype, "assigned_to_user_id", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
90
|
+
__metadata("design:type", Object)
|
|
91
|
+
], RequestForProjectApproval.prototype, "assigned_at", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
94
|
+
__metadata("design:type", Object)
|
|
95
|
+
], RequestForProjectApproval.prototype, "workflow_execution_id", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
98
|
+
__metadata("design:type", Object)
|
|
99
|
+
], RequestForProjectApproval.prototype, "reference_number", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], RequestForProjectApproval.prototype, "title_of_project", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], RequestForProjectApproval.prototype, "request_id", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
110
|
+
__metadata("design:type", Date)
|
|
111
|
+
], RequestForProjectApproval.prototype, "date_of_submission", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: false }),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], RequestForProjectApproval.prototype, "phone", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: false }),
|
|
118
|
+
__metadata("design:type", Number)
|
|
119
|
+
], RequestForProjectApproval.prototype, "department_id", void 0);
|
|
120
|
+
exports.RequestForProjectApproval = RequestForProjectApproval = __decorate([
|
|
121
|
+
(0, typeorm_1.Entity)({ name: "request_for_project_approval" }),
|
|
122
|
+
__metadata("design:paramtypes", [Number, String, Date, String, Number, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
123
|
+
], RequestForProjectApproval);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -191,6 +191,10 @@ export {AssignTasksEmpMessageType} from './models/AssignTasksEmpChatModel';
|
|
|
191
191
|
export * from './models/ShiftAllowanceRequestModel';
|
|
192
192
|
export {ShiftAllowanceRequestStatus, ShiftAllowanceValue} from './models/ShiftAllowanceRequestModel';
|
|
193
193
|
|
|
194
|
+
// Request for Project Approval (RFP) Service
|
|
195
|
+
export * from './models/RequestForProjectApprovalModel';
|
|
196
|
+
export {RequestForProjectApprovalStatus} from './models/RequestForProjectApprovalModel';
|
|
197
|
+
|
|
194
198
|
// Job Transfer (Transfer from One Job to Another Job Nature) Service
|
|
195
199
|
export * from './models/JobTransferRequestModel';
|
|
196
200
|
export {JobTransferRequestStatus} from './models/JobTransferRequestModel';
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Column, Entity } from "typeorm";
|
|
2
|
+
import { BaseModel } from "./BaseModel";
|
|
3
|
+
|
|
4
|
+
export enum RequestForProjectApprovalStatus {
|
|
5
|
+
PENDING = "Pending",
|
|
6
|
+
ASSIGNED = "Assigned",
|
|
7
|
+
IN_PROGRESS = "In Progress",
|
|
8
|
+
COMPLETED = "Completed",
|
|
9
|
+
APPROVED = "Approved",
|
|
10
|
+
REJECTED = "Rejected"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@Entity({ name: "request_for_project_approval" })
|
|
14
|
+
export class RequestForProjectApproval extends BaseModel {
|
|
15
|
+
@Column({ type: "integer", nullable: true })
|
|
16
|
+
req_user_department_id: number | null;
|
|
17
|
+
|
|
18
|
+
@Column({ type: "integer", nullable: true })
|
|
19
|
+
req_user_section_id: number | null;
|
|
20
|
+
|
|
21
|
+
@Column({ type: "integer", nullable: true })
|
|
22
|
+
req_user_position_id: number | null;
|
|
23
|
+
|
|
24
|
+
@Column({ type: "integer", nullable: true })
|
|
25
|
+
service_id: number | null;
|
|
26
|
+
|
|
27
|
+
@Column({ type: "integer", nullable: true })
|
|
28
|
+
sub_service_id: number | null;
|
|
29
|
+
|
|
30
|
+
@Column({ type: "integer", nullable: false })
|
|
31
|
+
user_id: number;
|
|
32
|
+
|
|
33
|
+
@Column({ type: "text", nullable: true })
|
|
34
|
+
description: string | null;
|
|
35
|
+
|
|
36
|
+
@Column({ type: "enum", enum: RequestForProjectApprovalStatus, default: RequestForProjectApprovalStatus.PENDING, nullable: false })
|
|
37
|
+
status: RequestForProjectApprovalStatus;
|
|
38
|
+
|
|
39
|
+
@Column({ type: "integer", nullable: true })
|
|
40
|
+
reviewer_user_id: number | null;
|
|
41
|
+
|
|
42
|
+
@Column({ type: "integer", nullable: true })
|
|
43
|
+
assigned_to_user_id: number | null;
|
|
44
|
+
|
|
45
|
+
@Column({ type: "timestamp", nullable: true })
|
|
46
|
+
assigned_at: Date | null;
|
|
47
|
+
|
|
48
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
49
|
+
workflow_execution_id: string | null;
|
|
50
|
+
|
|
51
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
52
|
+
reference_number: string | null;
|
|
53
|
+
|
|
54
|
+
// Request for Project Approval specific fields
|
|
55
|
+
@Column({ type: "varchar", length: 255, nullable: false })
|
|
56
|
+
title_of_project: string;
|
|
57
|
+
|
|
58
|
+
@Column({ type: "varchar", length: 100, nullable: true })
|
|
59
|
+
request_id: string | null; // Auto-generated
|
|
60
|
+
|
|
61
|
+
@Column({ type: "date", nullable: false })
|
|
62
|
+
date_of_submission: Date;
|
|
63
|
+
|
|
64
|
+
@Column({ type: "varchar", length: 20, nullable: false })
|
|
65
|
+
phone: string;
|
|
66
|
+
|
|
67
|
+
@Column({ type: "integer", nullable: false })
|
|
68
|
+
department_id: number;
|
|
69
|
+
|
|
70
|
+
constructor(
|
|
71
|
+
user_id: number,
|
|
72
|
+
title_of_project: string,
|
|
73
|
+
date_of_submission: Date,
|
|
74
|
+
phone: string,
|
|
75
|
+
department_id: number,
|
|
76
|
+
status: RequestForProjectApprovalStatus = RequestForProjectApprovalStatus.PENDING,
|
|
77
|
+
service_id?: number | null,
|
|
78
|
+
sub_service_id?: number | null,
|
|
79
|
+
req_user_department_id?: number | null,
|
|
80
|
+
req_user_section_id?: number | null,
|
|
81
|
+
req_user_position_id?: number | null,
|
|
82
|
+
description?: string | null,
|
|
83
|
+
reviewer_user_id?: number | null,
|
|
84
|
+
assigned_to_user_id?: number | null,
|
|
85
|
+
assigned_at?: Date | null,
|
|
86
|
+
workflow_execution_id?: string | null,
|
|
87
|
+
request_id?: string | null
|
|
88
|
+
) {
|
|
89
|
+
super();
|
|
90
|
+
this.user_id = user_id;
|
|
91
|
+
this.title_of_project = title_of_project;
|
|
92
|
+
this.date_of_submission = date_of_submission;
|
|
93
|
+
this.phone = phone;
|
|
94
|
+
this.department_id = department_id;
|
|
95
|
+
this.status = status;
|
|
96
|
+
this.service_id = service_id || null;
|
|
97
|
+
this.sub_service_id = sub_service_id || null;
|
|
98
|
+
this.req_user_department_id = req_user_department_id || null;
|
|
99
|
+
this.req_user_section_id = req_user_section_id || null;
|
|
100
|
+
this.req_user_position_id = req_user_position_id || null;
|
|
101
|
+
this.description = description || null;
|
|
102
|
+
this.reviewer_user_id = reviewer_user_id || null;
|
|
103
|
+
this.assigned_to_user_id = assigned_to_user_id || null;
|
|
104
|
+
this.assigned_at = assigned_at || null;
|
|
105
|
+
this.workflow_execution_id = workflow_execution_id || null;
|
|
106
|
+
this.reference_number = null;
|
|
107
|
+
this.request_id = request_id || null;
|
|
108
|
+
}
|
|
109
|
+
}
|