fix: เพิ่ม column วันที่ได้รับ

This commit is contained in:
Net 2024-03-21 10:34:08 +07:00
parent 9e636ff80c
commit 611715dff5

View file

@ -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;