From aa92f377cf05e124dc93f95fc1584dc152437dc3 Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 13 Jun 2024 10:10:48 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=E0=B8=9F=E0=B8=B4=E0=B8=A5=E0=B8=94=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entities/ProfileChangePosition.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; };