fix: missing is date

This commit is contained in:
Methapon2001 2024-03-22 11:24:26 +07:00
parent 6117159ea1
commit 9c3451d1dc

View file

@ -53,6 +53,13 @@ export class ProfileHonor extends EntityBase {
})
refCommandNo: string;
@Column({
nullable: true,
comment: "ประเภทช่วงเวลา",
default: null,
})
isDate: boolean;
@OneToMany(() => ProfileHonorHistory, (profileHonorHistory) => profileHonorHistory.histories)
profileHonorHistories: ProfileHonorHistory[];
@ -68,6 +75,7 @@ export class CreateProfileHonor {
issuer: string | null;
refCommandDate: Date | null;
refCommandNo: string | null;
isDate: boolean | null;
}
export type UpdateProfileHonor = {
@ -76,4 +84,5 @@ export type UpdateProfileHonor = {
issuer?: string | null;
refCommandDate?: Date | null;
refCommandNo?: string | null;
isDate: boolean | null;
};