From 9c3451d1dc4c8a43f3ef2abe4f157e829717faeb Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:24:26 +0700 Subject: [PATCH] fix: missing is date --- src/entities/ProfileHonor.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/entities/ProfileHonor.ts b/src/entities/ProfileHonor.ts index ff04915c..fc092a96 100644 --- a/src/entities/ProfileHonor.ts +++ b/src/entities/ProfileHonor.ts @@ -53,6 +53,13 @@ export class ProfileHonor extends EntityBase { }) refCommandNo: string; + @Column({ + nullable: true, + comment: "ประเภทช่วงเวลา", + default: null, + }) + isDate: boolean; + @OneToMany(() => ProfileHonorHistory, (profileHonorHistory) => profileHonorHistory.histories) profileHonorHistories: ProfileHonorHistory[]; @@ -68,6 +75,7 @@ export class CreateProfileHonor { issuer: string | null; refCommandDate: Date | null; refCommandNo: string | null; + isDate: boolean | null; } export type UpdateProfileHonor = { @@ -76,4 +84,5 @@ export type UpdateProfileHonor = { issuer?: string | null; refCommandDate?: Date | null; refCommandNo?: string | null; + isDate: boolean | null; };