From 611715dff50e04719bb72ce78e10a46769419c6f Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 21 Mar 2024 10:34:08 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20column=20=E0=B8=A7=E0=B8=B1=E0=B8=99=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B9=84=E0=B8=94=E0=B9=89=E0=B8=A3=E0=B8=B1?= =?UTF-8?q?=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entities/ProfileInsignia.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/entities/ProfileInsignia.ts b/src/entities/ProfileInsignia.ts index 9cf8ffad..183930c0 100644 --- a/src/entities/ProfileInsignia.ts +++ b/src/entities/ProfileInsignia.ts @@ -57,6 +57,14 @@ export class ProfileInsignia extends EntityBase { }) page: string; + @Column({ + nullable: true, + type: "datetime", + comment: "ลงวันที่", + default: null, + }) + receiveDate: Date; + @Column({ nullable: true, type: "datetime", @@ -128,13 +136,12 @@ export class ProfileInsignia extends EntityBase { export class CreateProfileInsignia { profileId: string | null; - year: number; no: string | null; volume: string | null; section: string | null; page: string | null; - + receiveDate: Date | null; insigniaId: string; dateAnnounce: Date | null; issue: string | null; @@ -150,7 +157,7 @@ export type UpdateProfileInsignia = { volume?: string | null; section?: string | null; page?: string | null; - + receiveDate?: Date | null; insigniaId?: string | null; insigniaType?: string | null; dateAnnounce?: Date | null;