add isupload

This commit is contained in:
kittapath 2025-03-18 15:32:21 +07:00
parent e570339e1a
commit f54a35f770
11 changed files with 55 additions and 0 deletions

View file

@ -70,6 +70,12 @@ export class ProfileDiscipline extends EntityBase {
})
unStigma: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@OneToMany(
() => ProfileDisciplineHistory,
(profileDisciplineHistory) => profileDisciplineHistory.histories,
@ -93,6 +99,7 @@ export class CreateProfileDiscipline {
refCommandDate: Date | null;
refCommandNo: string | null;
unStigma: string | null;
isUpload?: boolean | null;
}
export class CreateProfileEmployeeDiscipline {
@ -103,6 +110,7 @@ export class CreateProfileEmployeeDiscipline {
refCommandDate: Date | null;
refCommandNo: string | null;
unStigma: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileDiscipline = {
@ -113,4 +121,5 @@ export type UpdateProfileDiscipline = {
refCommandDate?: Date | null;
refCommandNo?: string | null;
unStigma?: string | null;
isUpload?: boolean | null;
};