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; page: string;
@Column({
nullable: true,
type: "datetime",
comment: "ลงวันที่",
default: null,
})
receiveDate: Date;
@Column({ @Column({
nullable: true, nullable: true,
type: "datetime", type: "datetime",
@ -128,13 +136,12 @@ export class ProfileInsignia extends EntityBase {
export class CreateProfileInsignia { export class CreateProfileInsignia {
profileId: string | null; profileId: string | null;
year: number; year: number;
no: string | null; no: string | null;
volume: string | null; volume: string | null;
section: string | null; section: string | null;
page: string | null; page: string | null;
receiveDate: Date | null;
insigniaId: string; insigniaId: string;
dateAnnounce: Date | null; dateAnnounce: Date | null;
issue: string | null; issue: string | null;
@ -150,7 +157,7 @@ export type UpdateProfileInsignia = {
volume?: string | null; volume?: string | null;
section?: string | null; section?: string | null;
page?: string | null; page?: string | null;
receiveDate?: Date | null;
insigniaId?: string | null; insigniaId?: string | null;
insigniaType?: string | null; insigniaType?: string | null;
dateAnnounce?: Date | null; dateAnnounce?: Date | null;