@platform-modules/foreign-ministry 1.3.167 → 1.3.169

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.
Files changed (60) hide show
  1. package/.env +6 -15
  2. package/dist/index.d.ts +8 -1
  3. package/dist/index.js +8 -1
  4. package/dist/models/LMSExternalCourseParticipationRequestModel.d.ts +5 -1
  5. package/dist/models/LMSExternalCourseParticipationRequestModel.js +7 -2
  6. package/dist/models/MissionTravelClassConfigModel.d.ts +10 -0
  7. package/dist/models/{CityMasterModel.js → MissionTravelClassConfigModel.js} +25 -16
  8. package/dist/models/MissionTravelPerdiemModel.d.ts +10 -0
  9. package/dist/models/MissionTravelPerdiemModel.js +54 -0
  10. package/dist/models/ProjectContactsModel.d.ts +10 -0
  11. package/dist/models/ProjectContactsModel.js +54 -0
  12. package/dist/models/ProjectFaqModel.d.ts +9 -0
  13. package/dist/models/ProjectFaqModel.js +49 -0
  14. package/dist/models/ProjectFaqReactionsModel.d.ts +8 -0
  15. package/dist/models/ProjectFaqReactionsModel.js +44 -0
  16. package/dist/models/ProjectInvoicesModel.d.ts +9 -0
  17. package/dist/models/ProjectInvoicesModel.js +49 -0
  18. package/dist/models/ProjectMilestonesModel.d.ts +13 -0
  19. package/dist/models/ProjectMilestonesModel.js +69 -0
  20. package/dist/models/ProjectModel.d.ts +8 -3
  21. package/dist/models/ProjectModel.js +34 -9
  22. package/dist/models/ProjectResourceUsersModel.d.ts +7 -0
  23. package/dist/models/{HelpContentMappedTagsModel.js → ProjectResourceUsersModel.js} +19 -14
  24. package/dist/models/ProjectResourcesModel.d.ts +9 -0
  25. package/dist/models/ProjectResourcesModel.js +49 -0
  26. package/dist/models/ProjectScopeModel.d.ts +19 -0
  27. package/dist/models/ProjectScopeModel.js +49 -0
  28. package/package.json +1 -1
  29. package/src/index.ts +313 -306
  30. package/src/models/DiplomaticAcademyRequestModel.ts +80 -80
  31. package/src/models/LMSExternalCourseParticipationRequestModel.ts +7 -2
  32. package/src/models/LanguageCourseRequestModel.ts +67 -67
  33. package/src/models/LeaveConfigModel.ts +71 -71
  34. package/src/models/MissionTravelApprovalModel.ts +101 -101
  35. package/src/models/MissionTravelAttachmentModel.ts +56 -56
  36. package/src/models/MissionTravelChatModel.ts +52 -52
  37. package/src/models/MissionTravelPersonModel.ts +105 -105
  38. package/src/models/MissionTravelWorkflowModel.ts +54 -54
  39. package/src/models/ProjectContactsModel.ts +40 -0
  40. package/src/models/ProjectFaqModel.ts +35 -0
  41. package/src/models/ProjectFaqReactionsModel.ts +30 -0
  42. package/src/models/ProjectInvoicesModel.ts +35 -0
  43. package/src/models/ProjectMilestonesModel.ts +55 -0
  44. package/src/models/ProjectModel.ts +35 -10
  45. package/src/models/ProjectResourceUsersModel.ts +21 -0
  46. package/src/models/ProjectResourcesModel.ts +35 -0
  47. package/src/models/ProjectScopeModel.ts +46 -0
  48. package/src/models/RegisterCandidateRequestModel.ts +177 -177
  49. package/src/models/SectionModel.ts +35 -35
  50. package/src/models/ServicesNotificationConfigsModel.ts +55 -55
  51. package/dist/models/CityMasterModel.d.ts +0 -8
  52. package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
  53. package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
  54. package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
  55. package/dist/models/HelpContentTagsModel.d.ts +0 -5
  56. package/dist/models/HelpContentTagsModel.js +0 -29
  57. package/dist/models/questionTagsModel.d.ts +0 -6
  58. package/dist/models/questionTagsModel.js +0 -34
  59. package/src/models/CityMasterModel.ts +0 -22
  60. /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
@@ -0,0 +1,35 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'project_invoices' })
5
+ export class ProjectInvoices extends BaseModel {
6
+ @Column({ type: 'int' })
7
+ project_id: number;
8
+
9
+ @Column({ type: 'text', nullable: true })
10
+ invoice_link: string;
11
+
12
+ @Column({ type: 'varchar', length: 500, nullable: true })
13
+ filename: string;
14
+
15
+ @Column({ type: 'bigint', nullable: true })
16
+ filesize: number;
17
+
18
+ @Column({ type: 'varchar', length: 100, nullable: true })
19
+ filetype: string;
20
+
21
+ constructor(
22
+ project_id?: number,
23
+ invoice_link?: string,
24
+ filename?: string,
25
+ filesize?: number,
26
+ filetype?: string
27
+ ) {
28
+ super();
29
+ this.project_id = project_id ?? 0;
30
+ this.invoice_link = invoice_link ?? '';
31
+ this.filename = filename ?? '';
32
+ this.filesize = filesize ?? 0;
33
+ this.filetype = filetype ?? '';
34
+ }
35
+ }
@@ -0,0 +1,55 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'project_milestones' })
5
+ export class ProjectMilestones extends BaseModel {
6
+ @Column({ type: 'int' })
7
+ project_id: number;
8
+
9
+ @Column({ type: 'varchar', length: 255 })
10
+ milestone_name: string;
11
+
12
+ @Column({ type: 'jsonb', nullable: true })
13
+ vendor_names: string[] | null;
14
+
15
+ @Column({ type: 'text', nullable: true })
16
+ milestone_description: string;
17
+
18
+ @Column({ type: 'date', nullable: true })
19
+ estimated_startdate: Date | null;
20
+
21
+ @Column({ type: 'date', nullable: true })
22
+ estimated_enddate: Date | null;
23
+
24
+ @Column({ type: 'date', nullable: true })
25
+ actual_startdate: Date | null;
26
+
27
+ @Column({ type: 'date', nullable: true })
28
+ actual_enddate: Date | null;
29
+
30
+ @Column({ type: 'jsonb', nullable: true })
31
+ checklist: string[] | null;
32
+
33
+ constructor(
34
+ project_id?: number,
35
+ milestone_name?: string,
36
+ vendor_names?: string[] | null,
37
+ milestone_description?: string,
38
+ estimated_startdate?: Date | null,
39
+ estimated_enddate?: Date | null,
40
+ actual_startdate?: Date | null,
41
+ actual_enddate?: Date | null,
42
+ checklist?: string[] | null
43
+ ) {
44
+ super();
45
+ this.project_id = project_id ?? 0;
46
+ this.milestone_name = milestone_name ?? '';
47
+ this.vendor_names = vendor_names ?? null;
48
+ this.milestone_description = milestone_description ?? '';
49
+ this.estimated_startdate = estimated_startdate ?? null;
50
+ this.estimated_enddate = estimated_enddate ?? null;
51
+ this.actual_startdate = actual_startdate ?? null;
52
+ this.actual_enddate = actual_enddate ?? null;
53
+ this.checklist = checklist ?? null;
54
+ }
55
+ }
@@ -6,30 +6,55 @@ export class Projects extends BaseModel {
6
6
  @Column({ type: 'varchar', length: 255 })
7
7
  project_name: string;
8
8
 
9
- @Column({ type: 'text' })
10
- project_purpose: string;
9
+ @Column({ type: 'text' , nullable: true})
10
+ project_objective: string;
11
11
 
12
- @Column({ type: 'text', nullable: true })
13
- roadmap_link: string | null;
12
+ @Column({ type: 'text' , nullable: true})
13
+ project_benefits: string;
14
14
 
15
- @Column({ type: 'jsonb', nullable: true })
15
+ @Column({ type: 'text' , nullable: true})
16
+ project_risks: string;
17
+
18
+ @Column({ type: 'text' , nullable: true})
19
+ project_challenges: string;
20
+
21
+ @Column({ type: 'text' , nullable: true})
22
+ project_description: string;
23
+
24
+ @Column({ type: 'text' , nullable: true})
25
+ project_status: string;
26
+
27
+ @Column({ type: 'text' , nullable: true})
28
+ roadmap_link: string;
29
+
30
+ @Column({ type: 'jsonb' , nullable: true})
16
31
  template_ids: number[] | null;
17
32
 
18
- @Column({ type: 'varchar', length: 100 })
33
+ @Column({ type: 'varchar', length: 100, nullable: true})
19
34
  project_version: string;
20
35
 
21
36
  constructor(
22
37
  project_name?: string,
23
- project_purpose?: string,
38
+ project_objective?: string,
39
+ project_benefits?: string,
40
+ project_risks?: string,
41
+ project_challenges?: string,
42
+ project_description?: string,
43
+ project_status?: string,
24
44
  roadmap_link?: string | null,
25
45
  template_ids?: number[] | null,
26
46
  project_version?: string
27
47
  ) {
28
48
  super();
29
49
  this.project_name = project_name || '';
30
- this.project_purpose = project_purpose || '';
31
- this.roadmap_link = roadmap_link ?? null;
32
- this.template_ids = template_ids ?? null;
50
+ this.project_objective = project_objective || '';
51
+ this.project_benefits = project_benefits || '';
52
+ this.project_risks = project_risks || '';
53
+ this.project_challenges = project_challenges || '';
54
+ this.project_description = project_description || '';
55
+ this.project_status = project_status || '';
56
+ this.roadmap_link = roadmap_link || '';
57
+ this.template_ids = template_ids || [];
33
58
  this.project_version = project_version || '';
34
59
  }
35
60
  }
@@ -0,0 +1,21 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'project_resource_users' })
5
+ export class ProjectResourceUsers extends BaseModel {
6
+ @Column({ type: 'int' })
7
+ project_id: number;
8
+
9
+ @Column({ type: 'int' })
10
+ project_resource_id: number;
11
+
12
+ @Column({ type: 'int' })
13
+ user_id: number;
14
+
15
+ constructor(project_id?: number, project_resource_id?: number, user_id?: number) {
16
+ super();
17
+ this.project_id = project_id ?? 0;
18
+ this.project_resource_id = project_resource_id ?? 0;
19
+ this.user_id = user_id ?? 0;
20
+ }
21
+ }
@@ -0,0 +1,35 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'project_resources' })
5
+ export class ProjectResources extends BaseModel {
6
+ @Column({ type: 'int' })
7
+ project_id: number;
8
+
9
+ @Column({ type: 'int', nullable: true })
10
+ project_manager_id: number;
11
+
12
+ @Column({ type: 'date', nullable: true })
13
+ estimate_startdate: Date | null;
14
+
15
+ @Column({ type: 'date', nullable: true })
16
+ estimate_enddate: Date | null;
17
+
18
+ @Column({ type: 'boolean', default: false })
19
+ is_collaboration_tool_key: boolean;
20
+
21
+ constructor(
22
+ project_id?: number,
23
+ project_manager_id?: number,
24
+ estimate_startdate?: Date | null,
25
+ estimate_enddate?: Date | null,
26
+ is_collaboration_tool_key?: boolean
27
+ ) {
28
+ super();
29
+ this.project_id = project_id ?? 0;
30
+ this.project_manager_id = project_manager_id ?? 0;
31
+ this.estimate_startdate = estimate_startdate ?? null;
32
+ this.estimate_enddate = estimate_enddate ?? null;
33
+ this.is_collaboration_tool_key = is_collaboration_tool_key ?? false;
34
+ }
35
+ }
@@ -0,0 +1,46 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ export interface BudgetBreakdownItem {
5
+ phase?: string;
6
+ category?: string;
7
+ budget?: number;
8
+ fromdate?: string;
9
+ todate?: string;
10
+ estimated_cost?: number;
11
+ actual_cost?: number;
12
+ total_cost?: number;
13
+ }
14
+
15
+ @Entity({ name: 'project_scopes' })
16
+ export class ProjectScopes extends BaseModel {
17
+ @Column({ type: 'text', nullable: true })
18
+ scope: string;
19
+
20
+ @Column({ type: 'text', nullable: true })
21
+ outscope: string;
22
+
23
+ @Column({ type: 'int' })
24
+ project_id: number;
25
+
26
+ @Column({ type: 'jsonb', nullable: true })
27
+ budget_breakdown: BudgetBreakdownItem[] | null;
28
+
29
+ @Column({ type: 'decimal', precision: 15, scale: 2, nullable: true })
30
+ subtotal: number;
31
+
32
+ constructor(
33
+ project_id?: number,
34
+ scope?: string,
35
+ outscope?: string,
36
+ budget_breakdown?: BudgetBreakdownItem[] | null,
37
+ subtotal?: number
38
+ ) {
39
+ super();
40
+ this.project_id = project_id ?? 0;
41
+ this.scope = scope ?? '';
42
+ this.outscope = outscope ?? '';
43
+ this.budget_breakdown = budget_breakdown ?? null;
44
+ this.subtotal = subtotal ?? 0;
45
+ }
46
+ }
@@ -1,177 +1,177 @@
1
- import { Column, Entity, OneToMany } from "typeorm";
2
- import { BaseModel } from './BaseModel';
3
- import { RegisterCandidateExperienceActivity } from './RegisterCandidateExperienceActivityModel';
4
-
5
- export enum RegisterCandidateStatus {
6
- PENDING = "Pending",
7
- ASSIGNED = "Assigned",
8
- IN_PROGRESS = "In Progress",
9
- APPROVED = "Approved",
10
- REJECTED = "Rejected"
11
- }
12
-
13
- export enum CandidateStatusType {
14
- SELECTED = "Selected",
15
- REJECTED = "Rejected",
16
- JOINED = "Joined",
17
- NOT_JOINED = "Not Joined"
18
- }
19
-
20
- @Entity({ name: 'register_candidate_requests' })
21
- export class RegisterCandidateRequests extends BaseModel {
22
-
23
- // Common columns from register_vacancy_requests
24
- @Column({ type: 'int', nullable: true })
25
- req_user_department_id: number | null;
26
-
27
- @Column({ type: 'int', nullable: true })
28
- req_user_section_id: number | null;
29
-
30
- @Column({ type: 'int', nullable: true })
31
- service_id: number | null;
32
-
33
- @Column({ type: 'int', nullable: true })
34
- sub_service_id: number | null;
35
-
36
- @Column({ type: 'int', nullable: false })
37
- user_id: number;
38
-
39
- // New columns - Personal Information
40
- @Column({ type: 'varchar', length: 255, nullable: true })
41
- relationship: string | null;
42
-
43
- @Column({ type: 'varchar', length: 255, nullable: true })
44
- place_of_birth: string | null;
45
-
46
- @Column({ type: 'date', nullable: true })
47
- date_of_birth: Date | null;
48
-
49
- @Column({ type: 'varchar', length: 255, nullable: true })
50
- nationality: string | null;
51
-
52
- @Column({ type: 'varchar', length: 255, nullable: true })
53
- religion_and_sect: string | null;
54
-
55
- @Column({ type: 'varchar', length: 255, nullable: true })
56
- sub_religion_and_sect: string | null;
57
-
58
- @Column({ type: 'text', nullable: true })
59
- present_residence: string | null;
60
-
61
- @Column({ type: 'varchar', length: 255, nullable: true })
62
- occupation_and_employer: string | null;
63
-
64
- // Education Information
65
- @Column({ type: 'text', nullable: true })
66
- type_of_study_specializations_qualification: string | null;
67
-
68
- @Column({ type: 'varchar', length: 255, nullable: true })
69
- educational_institute: string | null;
70
-
71
- @Column({ type: 'varchar', length: 255, nullable: true })
72
- education_country: string | null;
73
-
74
- @Column({ type: 'date', nullable: true })
75
- education_period_from: Date | null;
76
-
77
- @Column({ type: 'date', nullable: true })
78
- education_period_to: Date | null;
79
-
80
- // Note: Employment, Activity, and Charge Information fields have been moved to
81
- // register_candidate_experience_activity table to support multiple experience records
82
-
83
- // First Address
84
- @Column({ type: 'varchar', length: 255, nullable: true })
85
- address1_country_state: string | null;
86
-
87
- @Column({ type: 'varchar', length: 100, nullable: true })
88
- address1_street_no: string | null;
89
-
90
- @Column({ type: 'varchar', length: 100, nullable: true })
91
- address1_road_no: string | null;
92
-
93
- @Column({ type: 'varchar', length: 100, nullable: true })
94
- address1_flat_building_no: string | null;
95
-
96
- @Column({ type: 'text', nullable: true })
97
- address1_po_box_telephone_fax: string | null;
98
-
99
- // Second Address
100
- @Column({ type: 'varchar', length: 255, nullable: true })
101
- address2_country_state: string | null;
102
-
103
- @Column({ type: 'varchar', length: 100, nullable: true })
104
- address2_street_no: string | null;
105
-
106
- @Column({ type: 'varchar', length: 100, nullable: true })
107
- address2_road_no: string | null;
108
-
109
- @Column({ type: 'varchar', length: 100, nullable: true })
110
- address2_flat_building_no: string | null;
111
-
112
- @Column({ type: 'text', nullable: true })
113
- address2_po_box_telephone_fax: string | null;
114
-
115
- // Reference Information
116
- @Column({ type: 'varchar', length: 255, nullable: true })
117
- reference_full_name: string | null;
118
-
119
- @Column({ type: 'text', nullable: true })
120
- reference_address_and_telephone: string | null;
121
-
122
- @Column({ type: 'varchar', length: 255, nullable: true })
123
- telephone_number: string | null;
124
-
125
- @Column({ type: 'varchar', length: 255, nullable: true })
126
- reference_employer: string | null;
127
-
128
- // Vacancy Information
129
- @Column({ type: 'int', nullable: true })
130
- vacancy_id: number | null;
131
-
132
- @Column({ type: 'text', nullable: true })
133
- vacancy_description: string | null;
134
-
135
- // Interview Information
136
- @Column({ type: 'date', nullable: true })
137
- interview_schedule_date: Date | null;
138
-
139
- @Column({ type: 'time', nullable: true })
140
- interview_schedule_time: string | null;
141
-
142
- @Column({ type: 'varchar', length: 255, nullable: true })
143
- interviewer_name: string | null;
144
-
145
- // Candidate Status
146
- @Column({ type: 'enum', enum: CandidateStatusType, nullable: true })
147
- candidate_status: CandidateStatusType | null;
148
-
149
- @Column({ type: 'date', nullable: true })
150
- joining_date: Date | null;
151
-
152
- // Salary Information
153
- @Column({ type: 'varchar', length: 255, nullable: true })
154
- salary: string | null;
155
-
156
- @Column({ type: 'varchar', length: 255, nullable: true })
157
- currency: string | null;
158
-
159
- @Column({ type: 'varchar', length: 255, nullable: true })
160
- expected_salary: string | null;
161
-
162
- @Column({ type: 'varchar', length: 255, nullable: true })
163
- expected_currency: string | null;
164
-
165
- @Column({ type: 'varchar', length: 255, nullable: true })
166
- currency_type: string | null;
167
-
168
- @Column({ type: 'enum', enum: RegisterCandidateStatus, default: RegisterCandidateStatus.PENDING, nullable: false })
169
- status: RegisterCandidateStatus;
170
-
171
- @Column({ type: 'varchar', nullable: true })
172
- workflow_execution_id: string | null;
173
-
174
- @OneToMany(() => RegisterCandidateExperienceActivity, (experienceActivity) => experienceActivity.request)
175
- experience_activities: RegisterCandidateExperienceActivity[];
176
-
177
- }
1
+ import { Column, Entity, OneToMany } from "typeorm";
2
+ import { BaseModel } from './BaseModel';
3
+ import { RegisterCandidateExperienceActivity } from './RegisterCandidateExperienceActivityModel';
4
+
5
+ export enum RegisterCandidateStatus {
6
+ PENDING = "Pending",
7
+ ASSIGNED = "Assigned",
8
+ IN_PROGRESS = "In Progress",
9
+ APPROVED = "Approved",
10
+ REJECTED = "Rejected"
11
+ }
12
+
13
+ export enum CandidateStatusType {
14
+ SELECTED = "Selected",
15
+ REJECTED = "Rejected",
16
+ JOINED = "Joined",
17
+ NOT_JOINED = "Not Joined"
18
+ }
19
+
20
+ @Entity({ name: 'register_candidate_requests' })
21
+ export class RegisterCandidateRequests extends BaseModel {
22
+
23
+ // Common columns from register_vacancy_requests
24
+ @Column({ type: 'int', nullable: true })
25
+ req_user_department_id: number | null;
26
+
27
+ @Column({ type: 'int', nullable: true })
28
+ req_user_section_id: number | null;
29
+
30
+ @Column({ type: 'int', nullable: true })
31
+ service_id: number | null;
32
+
33
+ @Column({ type: 'int', nullable: true })
34
+ sub_service_id: number | null;
35
+
36
+ @Column({ type: 'int', nullable: false })
37
+ user_id: number;
38
+
39
+ // New columns - Personal Information
40
+ @Column({ type: 'varchar', length: 255, nullable: true })
41
+ relationship: string | null;
42
+
43
+ @Column({ type: 'varchar', length: 255, nullable: true })
44
+ place_of_birth: string | null;
45
+
46
+ @Column({ type: 'date', nullable: true })
47
+ date_of_birth: Date | null;
48
+
49
+ @Column({ type: 'varchar', length: 255, nullable: true })
50
+ nationality: string | null;
51
+
52
+ @Column({ type: 'varchar', length: 255, nullable: true })
53
+ religion_and_sect: string | null;
54
+
55
+ @Column({ type: 'varchar', length: 255, nullable: true })
56
+ sub_religion_and_sect: string | null;
57
+
58
+ @Column({ type: 'text', nullable: true })
59
+ present_residence: string | null;
60
+
61
+ @Column({ type: 'varchar', length: 255, nullable: true })
62
+ occupation_and_employer: string | null;
63
+
64
+ // Education Information
65
+ @Column({ type: 'text', nullable: true })
66
+ type_of_study_specializations_qualification: string | null;
67
+
68
+ @Column({ type: 'varchar', length: 255, nullable: true })
69
+ educational_institute: string | null;
70
+
71
+ @Column({ type: 'varchar', length: 255, nullable: true })
72
+ education_country: string | null;
73
+
74
+ @Column({ type: 'date', nullable: true })
75
+ education_period_from: Date | null;
76
+
77
+ @Column({ type: 'date', nullable: true })
78
+ education_period_to: Date | null;
79
+
80
+ // Note: Employment, Activity, and Charge Information fields have been moved to
81
+ // register_candidate_experience_activity table to support multiple experience records
82
+
83
+ // First Address
84
+ @Column({ type: 'varchar', length: 255, nullable: true })
85
+ address1_country_state: string | null;
86
+
87
+ @Column({ type: 'varchar', length: 100, nullable: true })
88
+ address1_street_no: string | null;
89
+
90
+ @Column({ type: 'varchar', length: 100, nullable: true })
91
+ address1_road_no: string | null;
92
+
93
+ @Column({ type: 'varchar', length: 100, nullable: true })
94
+ address1_flat_building_no: string | null;
95
+
96
+ @Column({ type: 'text', nullable: true })
97
+ address1_po_box_telephone_fax: string | null;
98
+
99
+ // Second Address
100
+ @Column({ type: 'varchar', length: 255, nullable: true })
101
+ address2_country_state: string | null;
102
+
103
+ @Column({ type: 'varchar', length: 100, nullable: true })
104
+ address2_street_no: string | null;
105
+
106
+ @Column({ type: 'varchar', length: 100, nullable: true })
107
+ address2_road_no: string | null;
108
+
109
+ @Column({ type: 'varchar', length: 100, nullable: true })
110
+ address2_flat_building_no: string | null;
111
+
112
+ @Column({ type: 'text', nullable: true })
113
+ address2_po_box_telephone_fax: string | null;
114
+
115
+ // Reference Information
116
+ @Column({ type: 'varchar', length: 255, nullable: true })
117
+ reference_full_name: string | null;
118
+
119
+ @Column({ type: 'text', nullable: true })
120
+ reference_address_and_telephone: string | null;
121
+
122
+ @Column({ type: 'varchar', length: 255, nullable: true })
123
+ telephone_number: string | null;
124
+
125
+ @Column({ type: 'varchar', length: 255, nullable: true })
126
+ reference_employer: string | null;
127
+
128
+ // Vacancy Information
129
+ @Column({ type: 'int', nullable: true })
130
+ vacancy_id: number | null;
131
+
132
+ @Column({ type: 'text', nullable: true })
133
+ vacancy_description: string | null;
134
+
135
+ // Interview Information
136
+ @Column({ type: 'date', nullable: true })
137
+ interview_schedule_date: Date | null;
138
+
139
+ @Column({ type: 'time', nullable: true })
140
+ interview_schedule_time: string | null;
141
+
142
+ @Column({ type: 'varchar', length: 255, nullable: true })
143
+ interviewer_name: string | null;
144
+
145
+ // Candidate Status
146
+ @Column({ type: 'enum', enum: CandidateStatusType, nullable: true })
147
+ candidate_status: CandidateStatusType | null;
148
+
149
+ @Column({ type: 'date', nullable: true })
150
+ joining_date: Date | null;
151
+
152
+ // Salary Information
153
+ @Column({ type: 'varchar', length: 255, nullable: true })
154
+ salary: string | null;
155
+
156
+ @Column({ type: 'varchar', length: 255, nullable: true })
157
+ currency: string | null;
158
+
159
+ @Column({ type: 'varchar', length: 255, nullable: true })
160
+ expected_salary: string | null;
161
+
162
+ @Column({ type: 'varchar', length: 255, nullable: true })
163
+ expected_currency: string | null;
164
+
165
+ @Column({ type: 'varchar', length: 255, nullable: true })
166
+ currency_type: string | null;
167
+
168
+ @Column({ type: 'enum', enum: RegisterCandidateStatus, default: RegisterCandidateStatus.PENDING, nullable: false })
169
+ status: RegisterCandidateStatus;
170
+
171
+ @Column({ type: 'varchar', nullable: true })
172
+ workflow_execution_id: string | null;
173
+
174
+ @OneToMany(() => RegisterCandidateExperienceActivity, (experienceActivity) => experienceActivity.request)
175
+ experience_activities: RegisterCandidateExperienceActivity[];
176
+
177
+ }