@platform-modules/foreign-ministry 1.0.52 → 1.0.53
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 -3
- package/dist/models/user.d.ts +3 -1
- package/dist/models/user.js +12 -2
- package/package.json +1 -1
- package/src/models/user.ts +10 -0
package/.env
CHANGED
package/dist/models/user.d.ts
CHANGED
|
@@ -32,5 +32,7 @@ export declare class User extends BaseModel {
|
|
|
32
32
|
personal_email?: string;
|
|
33
33
|
extension_number?: number;
|
|
34
34
|
diplomatic_name?: string;
|
|
35
|
-
|
|
35
|
+
civil_employee_id?: number;
|
|
36
|
+
qualification?: string;
|
|
37
|
+
constructor(employee_id?: number, employee_name?: string, employee_arabic_name?: string, date_of_birth?: string, region_of_birth?: string, country_of_birth?: string, date_of_joining?: string, last_promotion_date?: string, gender?: string, marital_status?: string, nationality?: string, email?: string, blood_group?: string, national_id?: number, mobile?: string, department?: number, section?: number, grade?: number, location?: string, country?: string, is_admin?: boolean, division?: number, reporting_to?: number, address?: string, residential_status?: string, religion?: string, designation?: number, avatar?: string, passport_number?: string, personal_email?: string, extension_number?: number, diplomatic_name?: string, civil_employee_id?: number, qualification?: string);
|
|
36
38
|
}
|
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, employee_name, employee_arabic_name, date_of_birth, region_of_birth, country_of_birth, date_of_joining, last_promotion_date, gender, marital_status, nationality, email, blood_group, national_id, mobile, department, section, grade, location, country, is_admin, division, reporting_to, address, residential_status, religion, designation, avatar, passport_number, personal_email, extension_number, diplomatic_name) {
|
|
16
|
+
constructor(employee_id, employee_name, employee_arabic_name, date_of_birth, region_of_birth, country_of_birth, date_of_joining, last_promotion_date, gender, marital_status, nationality, email, blood_group, national_id, mobile, department, section, grade, location, country, is_admin, division, reporting_to, address, residential_status, religion, designation, avatar, passport_number, personal_email, extension_number, diplomatic_name, civil_employee_id, qualification) {
|
|
17
17
|
super();
|
|
18
18
|
this.employee_id = employee_id;
|
|
19
19
|
this.employee_name = employee_name;
|
|
@@ -47,6 +47,8 @@ let User = class User extends BaseModel_1.BaseModel {
|
|
|
47
47
|
this.personal_email = personal_email;
|
|
48
48
|
this.extension_number = extension_number;
|
|
49
49
|
this.diplomatic_name = diplomatic_name;
|
|
50
|
+
this.civil_employee_id = civil_employee_id;
|
|
51
|
+
this.qualification = qualification;
|
|
50
52
|
}
|
|
51
53
|
};
|
|
52
54
|
exports.User = User;
|
|
@@ -178,7 +180,15 @@ __decorate([
|
|
|
178
180
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
179
181
|
__metadata("design:type", String)
|
|
180
182
|
], User.prototype, "diplomatic_name", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
185
|
+
__metadata("design:type", Number)
|
|
186
|
+
], User.prototype, "civil_employee_id", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
189
|
+
__metadata("design:type", String)
|
|
190
|
+
], User.prototype, "qualification", void 0);
|
|
181
191
|
exports.User = User = __decorate([
|
|
182
192
|
(0, typeorm_1.Entity)({ name: 'users' }),
|
|
183
|
-
__metadata("design:paramtypes", [Number, String, String, String, String, String, String, String, String, String, String, String, String, Number, String, Number, Number, Number, String, String, Boolean, Number, Number, String, String, String, Number, String, String, String, Number, String])
|
|
193
|
+
__metadata("design:paramtypes", [Number, String, String, String, String, String, String, String, String, String, String, String, String, Number, String, Number, Number, Number, String, String, Boolean, Number, Number, String, String, String, Number, String, String, String, Number, String, Number, String])
|
|
184
194
|
], User);
|
package/package.json
CHANGED
package/src/models/user.ts
CHANGED
|
@@ -100,6 +100,12 @@ export class User extends BaseModel {
|
|
|
100
100
|
@Column({ nullable: true })
|
|
101
101
|
diplomatic_name?: string;
|
|
102
102
|
|
|
103
|
+
@Column({ nullable: true })
|
|
104
|
+
civil_employee_id?: number;
|
|
105
|
+
|
|
106
|
+
@Column({ nullable: true })
|
|
107
|
+
qualification?: string;
|
|
108
|
+
|
|
103
109
|
constructor(
|
|
104
110
|
employee_id?: number,
|
|
105
111
|
employee_name?: string,
|
|
@@ -133,6 +139,8 @@ export class User extends BaseModel {
|
|
|
133
139
|
personal_email?: string,
|
|
134
140
|
extension_number?: number,
|
|
135
141
|
diplomatic_name?: string,
|
|
142
|
+
civil_employee_id?: number,
|
|
143
|
+
qualification?: string,
|
|
136
144
|
) {
|
|
137
145
|
super();
|
|
138
146
|
this.employee_id = employee_id;
|
|
@@ -167,5 +175,7 @@ export class User extends BaseModel {
|
|
|
167
175
|
this.personal_email = personal_email;
|
|
168
176
|
this.extension_number = extension_number;
|
|
169
177
|
this.diplomatic_name = diplomatic_name;
|
|
178
|
+
this.civil_employee_id = civil_employee_id;
|
|
179
|
+
this.qualification = qualification;
|
|
170
180
|
}
|
|
171
181
|
}
|