table profileHonor add isUpload

This commit is contained in:
kittapath 2025-01-28 14:37:40 +07:00
parent 76a994d7df
commit 8b699f6441
10 changed files with 81 additions and 3 deletions

View file

@ -70,6 +70,12 @@ export class ProfileDuty extends EntityBase {
})
refCommandNo: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@OneToMany(() => ProfileDutyHistory, (profileDutyHistory) => profileDutyHistory.histories)
profileDutyHistories: ProfileDutyHistory[];
@ -109,4 +115,5 @@ export type UpdateProfileDuty = {
reference?: string | null;
refCommandDate?: Date | null;
refCommandNo?: string | null;
isUpload?: boolean | null;
};