fix: เเก้ รับ date null
This commit is contained in:
parent
9b0a5e9194
commit
169fada8ae
5 changed files with 80 additions and 106 deletions
|
|
@ -76,29 +76,23 @@ export class ProfileDuty extends EntityBase {
|
|||
}
|
||||
|
||||
export class CreateProfileDuty {
|
||||
@Column("uuid")
|
||||
profileId: string | null;
|
||||
|
||||
@Column()
|
||||
isActive: boolean;
|
||||
|
||||
@Column()
|
||||
dateStart: Date | null;
|
||||
|
||||
@Column()
|
||||
dateEnd: Date | null;
|
||||
|
||||
@Column()
|
||||
detail: string | null;
|
||||
|
||||
@Column()
|
||||
reference: string | null;
|
||||
|
||||
@Column()
|
||||
refCommandDate: Date | null;
|
||||
|
||||
@Column()
|
||||
refCommandNo: string | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileDuty = Partial<CreateProfileDuty>;
|
||||
export type UpdateProfileDuty = {
|
||||
profileId: string | null;
|
||||
isActive: boolean;
|
||||
dateStart?: Date | null;
|
||||
dateEnd?: 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