diff --git a/src/entities/ProfileChangePosition.ts b/src/entities/ProfileChangePosition.ts index 1ffac9e1..0b495562 100644 --- a/src/entities/ProfileChangePosition.ts +++ b/src/entities/ProfileChangePosition.ts @@ -47,6 +47,9 @@ export class ProfileChangePosition extends EntityBase { @Column({ nullable: true, comment: "เลขบัตรประชาชน", default: null }) citizenId: string; + @Column({ nullable: true, type: "datetime", comment: "วันเกิด", default: null }) + birthDate: Date; + @Column({ nullable: true, comment: "ชื่อหน่วยงาน root", default: null }) root: string; @@ -201,6 +204,7 @@ export class ProfileChangePosition extends EntityBase { profile: ChangePosition; } +//เพิ่มรายชื่อผู้ที่ย้ายสับเปลี่ยนตำแหน่ง export class CreateProfileChangePosition { changePositionId: string; profiles: ProfileItem[] @@ -241,3 +245,19 @@ export class ProfileItem { posLevelOldId: string | null; posLevelNameOld: string | null; } + +//เลือกหน่วยงานที่รับย้าย +export type UpdateProfileChangePosition = { + posmasterId: string; + node: number; + nodeId: string; + orgRevisionId: string; + positionId: string; + posMasterNo: number; + position: string; + positionField: string; + posTypeId: string | null; + posTypeName: string; + posLevelId: string | null; + posLevelName: string; +}; \ No newline at end of file