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

@ -99,6 +99,7 @@ export class CreateProfileAbility {
dateStart: Date | null;
dateEnd: Date | null;
field: string | null;
isUpload?: boolean | null;
}
export class CreateProfileAbilityEmployee {
@ -109,6 +110,7 @@ export class CreateProfileAbilityEmployee {
dateStart: Date | null;
dateEnd: Date | null;
field: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileAbility = {

View file

@ -109,6 +109,7 @@ export class CreateProfileAssistance {
document: string | null;
refCommandDate?: string | null;
commandId?: string | null;
isUpload?: boolean | null;
}
export class CreateProfileAssistanceEmployee {
@ -120,6 +121,7 @@ export class CreateProfileAssistanceEmployee {
document: string | null;
refCommandDate?: string | null;
commandId?: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileAssistance = {

View file

@ -62,6 +62,12 @@ export class ProfileCertificate extends EntityBase {
})
issuer: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@OneToMany(
() => ProfileCertificateHistory,
(profileCertificateHistory) => profileCertificateHistory.histories,
@ -84,6 +90,7 @@ export class CreateProfileCertificate {
certificateNo: string | null;
certificateType: string | null;
issuer: string | null;
isUpload?: boolean | null;
}
export class CreateProfileEmployeeCertificate {
@ -93,6 +100,7 @@ export class CreateProfileEmployeeCertificate {
certificateNo: string | null;
certificateType: string | null;
issuer: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileCertificate = {
@ -101,4 +109,5 @@ export type UpdateProfileCertificate = {
certificateNo?: string | null;
certificateType?: string | null;
issuer?: string | null;
isUpload?: boolean | null;
};

View file

@ -44,6 +44,12 @@ export class ProfileCertificateHistory extends EntityBase {
})
issuer: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@Column({
nullable: true,
length: 40,

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;
};

View file

@ -59,6 +59,12 @@ export class ProfileDisciplineHistory extends EntityBase {
})
unStigma: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@ManyToOne(
() => ProfileDiscipline,
(profileDiscipline) => profileDiscipline.profileDisciplineHistories,

View file

@ -96,6 +96,7 @@ export class CreateProfileDuty {
reference: string | null;
refCommandDate: Date | null;
refCommandNo: string | null;
isUpload?: boolean | null;
}
export class CreateProfileEmployeeDuty {
@ -106,6 +107,7 @@ export class CreateProfileEmployeeDuty {
reference: string | null;
refCommandDate: Date | null;
refCommandNo: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileDuty = {

View file

@ -104,6 +104,7 @@ export class CreateProfileHonor {
refCommandNo: string | null;
type: string | null;
isDate: boolean | null;
isUpload?: boolean | null;
}
export class CreateProfileEmployeeHonor {
@ -115,6 +116,7 @@ export class CreateProfileEmployeeHonor {
refCommandNo: string | null;
type: string | null;
isDate: boolean | null;
isUpload?: boolean | null;
}
export type UpdateProfileHonor = {

View file

@ -162,6 +162,7 @@ export class CreateProfileInsignia {
refCommandDate: Date | null;
refCommandNo: string | null;
note: string | null;
isUpload?: boolean | null;
}
export class CreateProfileEmployeeInsignia {
@ -179,6 +180,7 @@ export class CreateProfileEmployeeInsignia {
refCommandDate: Date | null;
refCommandNo: string | null;
note: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileInsignia = {

View file

@ -62,6 +62,12 @@ export class ProfileNopaid extends EntityBase {
})
refCommandNo: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@OneToMany(() => ProfileNopaidHistory, (profileNopaidHistory) => profileNopaidHistory.histories)
profileNopaidHistories: ProfileNopaidHistory[];
@ -81,6 +87,7 @@ export class CreateProfileNopaid {
reference: string | null;
refCommandDate: Date | null;
refCommandNo: string | null;
isUpload?: boolean | null;
}
export class CreateProfileEmployeeNopaid {
@ -90,6 +97,7 @@ export class CreateProfileEmployeeNopaid {
reference: string | null;
refCommandDate: Date | null;
refCommandNo: string | null;
isUpload?: boolean | null;
}
export type UpdateProfileNopaid = {
@ -98,4 +106,5 @@ export type UpdateProfileNopaid = {
reference?: string | null;
refCommandDate?: Date | null;
refCommandNo?: string | null;
isUpload?: boolean | null;
};

View file

@ -44,6 +44,12 @@ export class ProfileNopaidHistory extends EntityBase {
})
refCommandNo: string;
@Column({
comment: "แนบไฟล์เอกสาร",
default: false,
})
isUpload: boolean;
@Column({
nullable: true,
length: 40,