From 2dac48cb815a56fd1422b276fe63481d43494321 Mon Sep 17 00:00:00 2001 From: Bright Date: Tue, 28 May 2024 10:31:18 +0700 Subject: [PATCH] add fields --- src/entities/Profile.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/entities/Profile.ts b/src/entities/Profile.ts index 27bf80bc..a4e2dae6 100644 --- a/src/entities/Profile.ts +++ b/src/entities/Profile.ts @@ -462,6 +462,21 @@ export class Profile extends EntityBase { length: 5, }) currentZipCode: string; + + @Column({ + nullable: true, + length: 40, + comment: "ไอดีรอบลงเวลาล่าสุด" + }) + dutyTimeId : string; + + @Column({ + nullable: true, + type: "datetime", + comment: "รอบลงเวลาล่าสุด", + default: null + }) + dutyTimeEffectiveDate: Date; } @Entity("profileHistory")