@platform-modules/civil-aviation-authority 2.0.57 → 2.0.58
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/models/user.d.ts +2 -1
- package/dist/models/user.js +7 -2
- package/package.json +1 -1
- package/src/models/user.ts +6 -2
package/dist/models/user.d.ts
CHANGED
|
@@ -42,5 +42,6 @@ export declare class User extends BaseModel {
|
|
|
42
42
|
children1_name?: string;
|
|
43
43
|
children2_name?: string;
|
|
44
44
|
address?: string;
|
|
45
|
-
|
|
45
|
+
religion?: string;
|
|
46
|
+
constructor(employee_id?: number, civil_employee_id?: number, employee_name?: string, employee_arabic_name?: string, person_type?: string, date_of_birth?: string, region_of_birth?: string, country_of_birth?: string, date_of_joining?: string, last_promotion_date?: string, gender?: string, qualification?: string, marital_status?: string, nationality?: string, email?: string, blood_type?: string, national_id?: number, manpower_id?: number, mobile?: string, office_number?: string, department?: number, category?: "CAA" | "Embassy", directorate?: string, section?: number, position?: number, arabic_position?: string, grade?: number, location?: string, supervisor_emp_id?: number, supervisor_emp_name?: string, passport_number?: string, personal_email?: string, extension_number?: number, fax_number?: string, diplomatic_name?: string, avatar?: string, father_name?: string, spouse_name?: string, children1_name?: string, children2_name?: string, address?: string, religion?: string);
|
|
46
47
|
}
|
package/dist/models/user.js
CHANGED
|
@@ -13,7 +13,7 @@ exports.User = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let User = class User extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(employee_id, civil_employee_id, employee_name, employee_arabic_name, person_type, date_of_birth, region_of_birth, country_of_birth, date_of_joining, last_promotion_date, gender, qualification, marital_status, nationality, email, blood_type, national_id, manpower_id, mobile, office_number, department, category, directorate, section, position, arabic_position, grade, location, supervisor_emp_id, supervisor_emp_name, passport_number, personal_email, extension_number, fax_number, diplomatic_name, avatar, father_name, spouse_name, children1_name, children2_name, address) {
|
|
16
|
+
constructor(employee_id, civil_employee_id, employee_name, employee_arabic_name, person_type, date_of_birth, region_of_birth, country_of_birth, date_of_joining, last_promotion_date, gender, qualification, marital_status, nationality, email, blood_type, national_id, manpower_id, mobile, office_number, department, category, directorate, section, position, arabic_position, grade, location, supervisor_emp_id, supervisor_emp_name, passport_number, personal_email, extension_number, fax_number, diplomatic_name, avatar, father_name, spouse_name, children1_name, children2_name, address, religion) {
|
|
17
17
|
super();
|
|
18
18
|
this.employee_id = employee_id;
|
|
19
19
|
this.civil_employee_id = civil_employee_id;
|
|
@@ -56,6 +56,7 @@ let User = class User extends BaseModel_1.BaseModel {
|
|
|
56
56
|
this.children1_name = children1_name;
|
|
57
57
|
this.children2_name = children2_name;
|
|
58
58
|
this.address = address;
|
|
59
|
+
this.religion = religion;
|
|
59
60
|
}
|
|
60
61
|
};
|
|
61
62
|
exports.User = User;
|
|
@@ -227,7 +228,11 @@ __decorate([
|
|
|
227
228
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
228
229
|
__metadata("design:type", String)
|
|
229
230
|
], User.prototype, "address", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
233
|
+
__metadata("design:type", String)
|
|
234
|
+
], User.prototype, "religion", void 0);
|
|
230
235
|
exports.User = User = __decorate([
|
|
231
236
|
(0, typeorm_1.Entity)({ name: 'users' }),
|
|
232
|
-
__metadata("design:paramtypes", [Number, Number, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Number, Number, String, String, Number, String, String, Number, Number, String, Number, String, Number, String, String, String, Number, String, String, String, String, String, String, String, String])
|
|
237
|
+
__metadata("design:paramtypes", [Number, Number, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Number, Number, String, String, Number, String, String, Number, Number, String, Number, String, Number, String, String, String, Number, String, String, String, String, String, String, String, String, String])
|
|
233
238
|
], User);
|
package/package.json
CHANGED
package/src/models/user.ts
CHANGED
|
@@ -129,7 +129,9 @@ export class User extends BaseModel {
|
|
|
129
129
|
|
|
130
130
|
@Column({ nullable: true })
|
|
131
131
|
address?: string;
|
|
132
|
-
|
|
132
|
+
|
|
133
|
+
@Column({ nullable: true })
|
|
134
|
+
religion?: string;
|
|
133
135
|
constructor(
|
|
134
136
|
employee_id?: number,
|
|
135
137
|
civil_employee_id?: number,
|
|
@@ -171,7 +173,8 @@ export class User extends BaseModel {
|
|
|
171
173
|
spouse_name?: string,
|
|
172
174
|
children1_name?: string,
|
|
173
175
|
children2_name?: string,
|
|
174
|
-
address?: string
|
|
176
|
+
address?: string,
|
|
177
|
+
religion?: string
|
|
175
178
|
) {
|
|
176
179
|
super();
|
|
177
180
|
this.employee_id = employee_id;
|
|
@@ -215,5 +218,6 @@ export class User extends BaseModel {
|
|
|
215
218
|
this.children1_name = children1_name;
|
|
216
219
|
this.children2_name = children2_name;
|
|
217
220
|
this.address = address;
|
|
221
|
+
this.religion = religion;
|
|
218
222
|
}
|
|
219
223
|
}
|