@platform-modules/foreign-ministry 1.3.196 → 1.3.198

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 (43) hide show
  1. package/.env +6 -15
  2. package/dist/data-source.js +8 -0
  3. package/dist/index.d.ts +4 -0
  4. package/dist/index.js +4 -0
  5. package/dist/models/MissionTravelClassConfigModel.d.ts +10 -0
  6. package/dist/models/MissionTravelClassConfigModel.js +50 -0
  7. package/dist/models/MissionTravelPerdiemModel.d.ts +10 -0
  8. package/dist/models/MissionTravelPerdiemModel.js +54 -0
  9. package/dist/models/ProjectMilestoneDocumentsModel.d.ts +10 -0
  10. package/dist/models/ProjectMilestoneDocumentsModel.js +54 -0
  11. package/dist/models/ProjectTaskActivityModel.d.ts +9 -0
  12. package/dist/models/ProjectTaskActivityModel.js +49 -0
  13. package/dist/models/ProjectTaskCommentsModel.d.ts +6 -0
  14. package/dist/models/{questionTagsModel.js → ProjectTaskCommentsModel.js} +16 -16
  15. package/dist/models/ProjectTasksModel.d.ts +24 -0
  16. package/dist/models/ProjectTasksModel.js +86 -0
  17. package/package.json +1 -1
  18. package/src/data-source.ts +8 -0
  19. package/src/index.ts +4 -0
  20. package/src/models/DiplomaticAcademyRequestModel.ts +80 -80
  21. package/src/models/LanguageCourseRequestModel.ts +67 -67
  22. package/src/models/LeaveConfigModel.ts +71 -71
  23. package/src/models/MissionTravelApprovalModel.ts +101 -101
  24. package/src/models/MissionTravelAttachmentModel.ts +56 -56
  25. package/src/models/MissionTravelChatModel.ts +52 -52
  26. package/src/models/MissionTravelPersonModel.ts +105 -105
  27. package/src/models/MissionTravelWorkflowModel.ts +54 -54
  28. package/src/models/ProjectMilestoneDocumentsModel.ts +40 -0
  29. package/src/models/ProjectModel.ts +65 -65
  30. package/src/models/ProjectTaskActivityModel.ts +35 -0
  31. package/src/models/ProjectTaskCommentsModel.ts +17 -0
  32. package/src/models/ProjectTasksModel.ts +80 -0
  33. package/src/models/RegisterCandidateRequestModel.ts +183 -183
  34. package/src/models/SectionModel.ts +35 -35
  35. package/src/models/ServicesNotificationConfigsModel.ts +55 -55
  36. package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
  37. package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
  38. package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
  39. package/dist/models/HelpContentMappedTagsModel.js +0 -34
  40. package/dist/models/HelpContentTagsModel.d.ts +0 -5
  41. package/dist/models/HelpContentTagsModel.js +0 -29
  42. package/dist/models/questionTagsModel.d.ts +0 -6
  43. /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
@@ -1,65 +1,65 @@
1
- import { Column, Entity } from 'typeorm';
2
- import { BaseModel } from './BaseModel';
3
-
4
- @Entity({ name: 'projects' })
5
- export class Projects extends BaseModel {
6
- @Column({ type: 'varchar', length: 255 })
7
- project_name: string;
8
-
9
- @Column({ type: 'text' , nullable: true})
10
- project_objective: string;
11
-
12
- @Column({ type: 'text' , nullable: true})
13
- project_benefits: string;
14
-
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})
31
- template_ids: number[] | null;
32
-
33
- @Column({ type: 'varchar', length: 100, nullable: true})
34
- project_version: string;
35
-
36
- @Column({ type: 'int', default: 0, nullable: true })
37
- no_of_phases: number;
38
-
39
- constructor(
40
- project_name?: string,
41
- project_objective?: string,
42
- project_benefits?: string,
43
- project_risks?: string,
44
- project_challenges?: string,
45
- project_description?: string,
46
- project_status?: string,
47
- roadmap_link?: string | null,
48
- template_ids?: number[] | null,
49
- project_version?: string,
50
- no_of_phases?: number
51
- ) {
52
- super();
53
- this.project_name = project_name || '';
54
- this.project_objective = project_objective || '';
55
- this.project_benefits = project_benefits || '';
56
- this.project_risks = project_risks || '';
57
- this.project_challenges = project_challenges || '';
58
- this.project_description = project_description || '';
59
- this.project_status = project_status || '';
60
- this.roadmap_link = roadmap_link || '';
61
- this.template_ids = template_ids || [];
62
- this.project_version = project_version || '';
63
- this.no_of_phases = no_of_phases ?? 0;
64
- }
65
- }
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'projects' })
5
+ export class Projects extends BaseModel {
6
+ @Column({ type: 'varchar', length: 255 })
7
+ project_name: string;
8
+
9
+ @Column({ type: 'text' , nullable: true})
10
+ project_objective: string;
11
+
12
+ @Column({ type: 'text' , nullable: true})
13
+ project_benefits: string;
14
+
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})
31
+ template_ids: number[] | null;
32
+
33
+ @Column({ type: 'varchar', length: 100, nullable: true})
34
+ project_version: string;
35
+
36
+ @Column({ type: 'int', default: 0, nullable: true })
37
+ no_of_phases: number;
38
+
39
+ constructor(
40
+ project_name?: string,
41
+ project_objective?: string,
42
+ project_benefits?: string,
43
+ project_risks?: string,
44
+ project_challenges?: string,
45
+ project_description?: string,
46
+ project_status?: string,
47
+ roadmap_link?: string | null,
48
+ template_ids?: number[] | null,
49
+ project_version?: string,
50
+ no_of_phases?: number
51
+ ) {
52
+ super();
53
+ this.project_name = project_name || '';
54
+ this.project_objective = project_objective || '';
55
+ this.project_benefits = project_benefits || '';
56
+ this.project_risks = project_risks || '';
57
+ this.project_challenges = project_challenges || '';
58
+ this.project_description = project_description || '';
59
+ this.project_status = project_status || '';
60
+ this.roadmap_link = roadmap_link || '';
61
+ this.template_ids = template_ids || [];
62
+ this.project_version = project_version || '';
63
+ this.no_of_phases = no_of_phases ?? 0;
64
+ }
65
+ }
@@ -0,0 +1,35 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'project_task_activity' })
5
+ export class ProjectTaskActivity extends BaseModel {
6
+ @Column({ type: 'int' })
7
+ task_id: number;
8
+
9
+ @Column({ type: 'varchar', length: 100, nullable: true })
10
+ activity_type: string;
11
+
12
+ @Column({ type: 'text', nullable: true })
13
+ description: string;
14
+
15
+ @Column({ type: 'text', nullable: true })
16
+ old_value: string | null;
17
+
18
+ @Column({ type: 'text', nullable: true })
19
+ new_value: string | null;
20
+
21
+ constructor(
22
+ task_id?: number,
23
+ activity_type?: string,
24
+ description?: string,
25
+ old_value?: string | null,
26
+ new_value?: string | null
27
+ ) {
28
+ super();
29
+ this.task_id = task_id ?? 0;
30
+ this.activity_type = activity_type ?? '';
31
+ this.description = description ?? '';
32
+ this.old_value = old_value ?? null;
33
+ this.new_value = new_value ?? null;
34
+ }
35
+ }
@@ -0,0 +1,17 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'project_task_comments' })
5
+ export class ProjectTaskComments extends BaseModel {
6
+ @Column({ type: 'int' })
7
+ task_id: number;
8
+
9
+ @Column({ type: 'text' })
10
+ comment: string;
11
+
12
+ constructor(task_id?: number, comment?: string) {
13
+ super();
14
+ this.task_id = task_id ?? 0;
15
+ this.comment = comment ?? '';
16
+ }
17
+ }
@@ -0,0 +1,80 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ export interface TaskAttachmentItem {
5
+ link?: string;
6
+ filename?: string;
7
+ filesize?: number;
8
+ filetype?: string;
9
+ }
10
+
11
+ export const TASK_PRIORITY = ['low', 'medium', 'high'] as const;
12
+ export const TASK_STATUS = ['Not started', 'Pending', 'In Progress', 'Completed'] as const;
13
+
14
+ @Entity({ name: 'project_tasks' })
15
+ export class ProjectTasks extends BaseModel {
16
+ @Column({ type: 'int' })
17
+ project_id: number;
18
+
19
+ @Column({ type: 'varchar', length: 500 })
20
+ task_title: string;
21
+
22
+ @Column({ type: 'text', nullable: true })
23
+ task_description: string;
24
+
25
+ @Column({ type: 'jsonb', nullable: true })
26
+ attachments: TaskAttachmentItem[] | null;
27
+
28
+ @Column({ type: 'varchar', length: 20, default: 'medium' })
29
+ priority: string;
30
+
31
+ @Column({ type: 'varchar', length: 50, default: 'Not started' })
32
+ status: string;
33
+
34
+ @Column({ type: 'int', nullable: true })
35
+ milestone_id: number | null;
36
+
37
+ @Column({ type: 'int', default: 1, nullable: true })
38
+ phase: number;
39
+
40
+ @Column({ type: 'int', nullable: true })
41
+ assign_to: number | null;
42
+
43
+ @Column({ type: 'int', nullable: true })
44
+ manager_id: number | null;
45
+
46
+ @Column({ type: 'date', nullable: true })
47
+ start_date: Date | null;
48
+
49
+ @Column({ type: 'date', nullable: true })
50
+ end_date: Date | null;
51
+
52
+ constructor(
53
+ project_id?: number,
54
+ task_title?: string,
55
+ task_description?: string,
56
+ attachments?: TaskAttachmentItem[] | null,
57
+ priority?: string,
58
+ status?: string,
59
+ milestone_id?: number | null,
60
+ phase?: number,
61
+ assign_to?: number | null,
62
+ manager_id?: number | null,
63
+ start_date?: Date | null,
64
+ end_date?: Date | null
65
+ ) {
66
+ super();
67
+ this.project_id = project_id ?? 0;
68
+ this.task_title = task_title ?? '';
69
+ this.task_description = task_description ?? '';
70
+ this.attachments = attachments ?? null;
71
+ this.priority = priority ?? 'medium';
72
+ this.status = status ?? 'Not started';
73
+ this.milestone_id = milestone_id ?? null;
74
+ this.phase = phase ?? 1;
75
+ this.assign_to = assign_to ?? null;
76
+ this.manager_id = manager_id ?? null;
77
+ this.start_date = start_date ?? null;
78
+ this.end_date = end_date ?? null;
79
+ }
80
+ }
@@ -1,183 +1,183 @@
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
- candidate_gender: string | null;
42
-
43
- @Column({ type: 'varchar', length: 255, nullable: true })
44
- candidate_email: string | null;
45
-
46
- @Column({ type: 'varchar', length: 255, nullable: true })
47
- relationship: string | null;
48
-
49
- @Column({ type: 'varchar', length: 255, nullable: true })
50
- place_of_birth: string | null;
51
-
52
- @Column({ type: 'date', nullable: true })
53
- date_of_birth: Date | null;
54
-
55
- @Column({ type: 'varchar', length: 255, nullable: true })
56
- nationality: string | null;
57
-
58
- @Column({ type: 'varchar', length: 255, nullable: true })
59
- religion_and_sect: string | null;
60
-
61
- @Column({ type: 'varchar', length: 255, nullable: true })
62
- sub_religion_and_sect: string | null;
63
-
64
- @Column({ type: 'text', nullable: true })
65
- present_residence: string | null;
66
-
67
- @Column({ type: 'varchar', length: 255, nullable: true })
68
- occupation_and_employer: string | null;
69
-
70
- // Education Information
71
- @Column({ type: 'text', nullable: true })
72
- type_of_study_specializations_qualification: string | null;
73
-
74
- @Column({ type: 'varchar', length: 255, nullable: true })
75
- educational_institute: string | null;
76
-
77
- @Column({ type: 'varchar', length: 255, nullable: true })
78
- education_country: string | null;
79
-
80
- @Column({ type: 'date', nullable: true })
81
- education_period_from: Date | null;
82
-
83
- @Column({ type: 'date', nullable: true })
84
- education_period_to: Date | null;
85
-
86
- // Note: Employment, Activity, and Charge Information fields have been moved to
87
- // register_candidate_experience_activity table to support multiple experience records
88
-
89
- // First Address
90
- @Column({ type: 'varchar', length: 255, nullable: true })
91
- address1_country_state: string | null;
92
-
93
- @Column({ type: 'varchar', length: 100, nullable: true })
94
- address1_street_no: string | null;
95
-
96
- @Column({ type: 'varchar', length: 100, nullable: true })
97
- address1_road_no: string | null;
98
-
99
- @Column({ type: 'varchar', length: 100, nullable: true })
100
- address1_flat_building_no: string | null;
101
-
102
- @Column({ type: 'text', nullable: true })
103
- address1_po_box_telephone_fax: string | null;
104
-
105
- // Second Address
106
- @Column({ type: 'varchar', length: 255, nullable: true })
107
- address2_country_state: string | null;
108
-
109
- @Column({ type: 'varchar', length: 100, nullable: true })
110
- address2_street_no: string | null;
111
-
112
- @Column({ type: 'varchar', length: 100, nullable: true })
113
- address2_road_no: string | null;
114
-
115
- @Column({ type: 'varchar', length: 100, nullable: true })
116
- address2_flat_building_no: string | null;
117
-
118
- @Column({ type: 'text', nullable: true })
119
- address2_po_box_telephone_fax: string | null;
120
-
121
- // Reference Information
122
- @Column({ type: 'varchar', length: 255, nullable: true })
123
- reference_full_name: string | null;
124
-
125
- @Column({ type: 'text', nullable: true })
126
- reference_address_and_telephone: string | null;
127
-
128
- @Column({ type: 'varchar', length: 255, nullable: true })
129
- telephone_number: string | null;
130
-
131
- @Column({ type: 'varchar', length: 255, nullable: true })
132
- reference_employer: string | null;
133
-
134
- // Vacancy Information
135
- @Column({ type: 'int', nullable: true })
136
- vacancy_id: number | null;
137
-
138
- @Column({ type: 'text', nullable: true })
139
- vacancy_description: string | null;
140
-
141
- // Interview Information
142
- @Column({ type: 'date', nullable: true })
143
- interview_schedule_date: Date | null;
144
-
145
- @Column({ type: 'time', nullable: true })
146
- interview_schedule_time: string | null;
147
-
148
- @Column({ type: 'varchar', length: 255, nullable: true })
149
- interviewer_name: string | null;
150
-
151
- // Candidate Status
152
- @Column({ type: 'enum', enum: CandidateStatusType, nullable: true })
153
- candidate_status: CandidateStatusType | null;
154
-
155
- @Column({ type: 'date', nullable: true })
156
- joining_date: Date | null;
157
-
158
- // Salary Information
159
- @Column({ type: 'varchar', length: 255, nullable: true })
160
- salary: string | null;
161
-
162
- @Column({ type: 'varchar', length: 255, nullable: true })
163
- currency: string | null;
164
-
165
- @Column({ type: 'varchar', length: 255, nullable: true })
166
- expected_salary: string | null;
167
-
168
- @Column({ type: 'varchar', length: 255, nullable: true })
169
- expected_currency: string | null;
170
-
171
- @Column({ type: 'varchar', length: 255, nullable: true })
172
- currency_type: string | null;
173
-
174
- @Column({ type: 'enum', enum: RegisterCandidateStatus, default: RegisterCandidateStatus.PENDING, nullable: false })
175
- status: RegisterCandidateStatus;
176
-
177
- @Column({ type: 'varchar', nullable: true })
178
- workflow_execution_id: string | null;
179
-
180
- @OneToMany(() => RegisterCandidateExperienceActivity, (experienceActivity) => experienceActivity.request)
181
- experience_activities: RegisterCandidateExperienceActivity[];
182
-
183
- }
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
+ candidate_gender: string | null;
42
+
43
+ @Column({ type: 'varchar', length: 255, nullable: true })
44
+ candidate_email: string | null;
45
+
46
+ @Column({ type: 'varchar', length: 255, nullable: true })
47
+ relationship: string | null;
48
+
49
+ @Column({ type: 'varchar', length: 255, nullable: true })
50
+ place_of_birth: string | null;
51
+
52
+ @Column({ type: 'date', nullable: true })
53
+ date_of_birth: Date | null;
54
+
55
+ @Column({ type: 'varchar', length: 255, nullable: true })
56
+ nationality: string | null;
57
+
58
+ @Column({ type: 'varchar', length: 255, nullable: true })
59
+ religion_and_sect: string | null;
60
+
61
+ @Column({ type: 'varchar', length: 255, nullable: true })
62
+ sub_religion_and_sect: string | null;
63
+
64
+ @Column({ type: 'text', nullable: true })
65
+ present_residence: string | null;
66
+
67
+ @Column({ type: 'varchar', length: 255, nullable: true })
68
+ occupation_and_employer: string | null;
69
+
70
+ // Education Information
71
+ @Column({ type: 'text', nullable: true })
72
+ type_of_study_specializations_qualification: string | null;
73
+
74
+ @Column({ type: 'varchar', length: 255, nullable: true })
75
+ educational_institute: string | null;
76
+
77
+ @Column({ type: 'varchar', length: 255, nullable: true })
78
+ education_country: string | null;
79
+
80
+ @Column({ type: 'date', nullable: true })
81
+ education_period_from: Date | null;
82
+
83
+ @Column({ type: 'date', nullable: true })
84
+ education_period_to: Date | null;
85
+
86
+ // Note: Employment, Activity, and Charge Information fields have been moved to
87
+ // register_candidate_experience_activity table to support multiple experience records
88
+
89
+ // First Address
90
+ @Column({ type: 'varchar', length: 255, nullable: true })
91
+ address1_country_state: string | null;
92
+
93
+ @Column({ type: 'varchar', length: 100, nullable: true })
94
+ address1_street_no: string | null;
95
+
96
+ @Column({ type: 'varchar', length: 100, nullable: true })
97
+ address1_road_no: string | null;
98
+
99
+ @Column({ type: 'varchar', length: 100, nullable: true })
100
+ address1_flat_building_no: string | null;
101
+
102
+ @Column({ type: 'text', nullable: true })
103
+ address1_po_box_telephone_fax: string | null;
104
+
105
+ // Second Address
106
+ @Column({ type: 'varchar', length: 255, nullable: true })
107
+ address2_country_state: string | null;
108
+
109
+ @Column({ type: 'varchar', length: 100, nullable: true })
110
+ address2_street_no: string | null;
111
+
112
+ @Column({ type: 'varchar', length: 100, nullable: true })
113
+ address2_road_no: string | null;
114
+
115
+ @Column({ type: 'varchar', length: 100, nullable: true })
116
+ address2_flat_building_no: string | null;
117
+
118
+ @Column({ type: 'text', nullable: true })
119
+ address2_po_box_telephone_fax: string | null;
120
+
121
+ // Reference Information
122
+ @Column({ type: 'varchar', length: 255, nullable: true })
123
+ reference_full_name: string | null;
124
+
125
+ @Column({ type: 'text', nullable: true })
126
+ reference_address_and_telephone: string | null;
127
+
128
+ @Column({ type: 'varchar', length: 255, nullable: true })
129
+ telephone_number: string | null;
130
+
131
+ @Column({ type: 'varchar', length: 255, nullable: true })
132
+ reference_employer: string | null;
133
+
134
+ // Vacancy Information
135
+ @Column({ type: 'int', nullable: true })
136
+ vacancy_id: number | null;
137
+
138
+ @Column({ type: 'text', nullable: true })
139
+ vacancy_description: string | null;
140
+
141
+ // Interview Information
142
+ @Column({ type: 'date', nullable: true })
143
+ interview_schedule_date: Date | null;
144
+
145
+ @Column({ type: 'time', nullable: true })
146
+ interview_schedule_time: string | null;
147
+
148
+ @Column({ type: 'varchar', length: 255, nullable: true })
149
+ interviewer_name: string | null;
150
+
151
+ // Candidate Status
152
+ @Column({ type: 'enum', enum: CandidateStatusType, nullable: true })
153
+ candidate_status: CandidateStatusType | null;
154
+
155
+ @Column({ type: 'date', nullable: true })
156
+ joining_date: Date | null;
157
+
158
+ // Salary Information
159
+ @Column({ type: 'varchar', length: 255, nullable: true })
160
+ salary: string | null;
161
+
162
+ @Column({ type: 'varchar', length: 255, nullable: true })
163
+ currency: string | null;
164
+
165
+ @Column({ type: 'varchar', length: 255, nullable: true })
166
+ expected_salary: string | null;
167
+
168
+ @Column({ type: 'varchar', length: 255, nullable: true })
169
+ expected_currency: string | null;
170
+
171
+ @Column({ type: 'varchar', length: 255, nullable: true })
172
+ currency_type: string | null;
173
+
174
+ @Column({ type: 'enum', enum: RegisterCandidateStatus, default: RegisterCandidateStatus.PENDING, nullable: false })
175
+ status: RegisterCandidateStatus;
176
+
177
+ @Column({ type: 'varchar', nullable: true })
178
+ workflow_execution_id: string | null;
179
+
180
+ @OneToMany(() => RegisterCandidateExperienceActivity, (experienceActivity) => experienceActivity.request)
181
+ experience_activities: RegisterCandidateExperienceActivity[];
182
+
183
+ }