diff --git a/src/entities/ProfileChangePosition.ts b/src/entities/ProfileChangePosition.ts index 575f1cd6..7adff5b8 100644 --- a/src/entities/ProfileChangePosition.ts +++ b/src/entities/ProfileChangePosition.ts @@ -31,6 +31,8 @@ export class ProfileChangePosition extends EntityBase { @Column({ nullable: true, comment: "ข้อมูลหน่วยงานเดิม เงินเดือน", type: "double", default: null }) amountOld: number; + @Column({ nullable: true, type: "datetime", comment: "ดำรงตำแหน่งในระดับปัจจุบันเมื่อ", default: null }) + dateCurrent: Date @Column({ nullable: true, comment: "profile Id", default: null }) profileId: string; @@ -255,7 +257,7 @@ export type UpdateProfileChangePosition = { positionLevelOld: string; positionNumberOld: string; amountOld: number; - dateCurrent : Date | null + dateCurrent : Date; reason: string | null; };