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;