fix: แก้ รับ date null
This commit is contained in:
parent
b7b7e1bbd8
commit
5b2c56cb78
3 changed files with 53 additions and 92 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue