fix: แก้ รับ date null

This commit is contained in:
Net 2024-03-18 17:45:44 +07:00
parent b7b7e1bbd8
commit 5b2c56cb78
3 changed files with 53 additions and 92 deletions

View file

@ -68,27 +68,21 @@ export class ProfileNopaid extends EntityBase {
}
export class CreateProfileNopaid {
@Column("uuid")
profileId: string | null;
@Column()
isActive: boolean;
@Column()
date: Date | null;
@Column()
detail: string | null;
@Column()
reference: string | null;
@Column()
refCommandDate: Date | null;
@Column()
refCommandNo: string | null;
}
export type UpdateProfileNopaid = Partial<CreateProfileNopaid>;
export type UpdateProfileNopaid = {
profileId: string | null;
isActive: boolean;
date?: Date | null;
detail: string | null;
reference: string | null;
refCommandDate?: Date | null;
refCommandNo: string | null;
};