add isupload
This commit is contained in:
parent
e570339e1a
commit
f54a35f770
11 changed files with 55 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ export class CreateProfileAbility {
|
||||||
dateStart: Date | null;
|
dateStart: Date | null;
|
||||||
dateEnd: Date | null;
|
dateEnd: Date | null;
|
||||||
field: string | null;
|
field: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileAbilityEmployee {
|
export class CreateProfileAbilityEmployee {
|
||||||
|
|
@ -109,6 +110,7 @@ export class CreateProfileAbilityEmployee {
|
||||||
dateStart: Date | null;
|
dateStart: Date | null;
|
||||||
dateEnd: Date | null;
|
dateEnd: Date | null;
|
||||||
field: string | null;
|
field: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileAbility = {
|
export type UpdateProfileAbility = {
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,7 @@ export class CreateProfileAssistance {
|
||||||
document: string | null;
|
document: string | null;
|
||||||
refCommandDate?: string | null;
|
refCommandDate?: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileAssistanceEmployee {
|
export class CreateProfileAssistanceEmployee {
|
||||||
|
|
@ -120,6 +121,7 @@ export class CreateProfileAssistanceEmployee {
|
||||||
document: string | null;
|
document: string | null;
|
||||||
refCommandDate?: string | null;
|
refCommandDate?: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileAssistance = {
|
export type UpdateProfileAssistance = {
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,12 @@ export class ProfileCertificate extends EntityBase {
|
||||||
})
|
})
|
||||||
issuer: string;
|
issuer: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "แนบไฟล์เอกสาร",
|
||||||
|
default: false,
|
||||||
|
})
|
||||||
|
isUpload: boolean;
|
||||||
|
|
||||||
@OneToMany(
|
@OneToMany(
|
||||||
() => ProfileCertificateHistory,
|
() => ProfileCertificateHistory,
|
||||||
(profileCertificateHistory) => profileCertificateHistory.histories,
|
(profileCertificateHistory) => profileCertificateHistory.histories,
|
||||||
|
|
@ -84,6 +90,7 @@ export class CreateProfileCertificate {
|
||||||
certificateNo: string | null;
|
certificateNo: string | null;
|
||||||
certificateType: string | null;
|
certificateType: string | null;
|
||||||
issuer: string | null;
|
issuer: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEmployeeCertificate {
|
export class CreateProfileEmployeeCertificate {
|
||||||
|
|
@ -93,6 +100,7 @@ export class CreateProfileEmployeeCertificate {
|
||||||
certificateNo: string | null;
|
certificateNo: string | null;
|
||||||
certificateType: string | null;
|
certificateType: string | null;
|
||||||
issuer: string | null;
|
issuer: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileCertificate = {
|
export type UpdateProfileCertificate = {
|
||||||
|
|
@ -101,4 +109,5 @@ export type UpdateProfileCertificate = {
|
||||||
certificateNo?: string | null;
|
certificateNo?: string | null;
|
||||||
certificateType?: string | null;
|
certificateType?: string | null;
|
||||||
issuer?: string | null;
|
issuer?: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,12 @@ export class ProfileCertificateHistory extends EntityBase {
|
||||||
})
|
})
|
||||||
issuer: string;
|
issuer: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "แนบไฟล์เอกสาร",
|
||||||
|
default: false,
|
||||||
|
})
|
||||||
|
isUpload: boolean;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 40,
|
length: 40,
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,12 @@ export class ProfileDiscipline extends EntityBase {
|
||||||
})
|
})
|
||||||
unStigma: string;
|
unStigma: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "แนบไฟล์เอกสาร",
|
||||||
|
default: false,
|
||||||
|
})
|
||||||
|
isUpload: boolean;
|
||||||
|
|
||||||
@OneToMany(
|
@OneToMany(
|
||||||
() => ProfileDisciplineHistory,
|
() => ProfileDisciplineHistory,
|
||||||
(profileDisciplineHistory) => profileDisciplineHistory.histories,
|
(profileDisciplineHistory) => profileDisciplineHistory.histories,
|
||||||
|
|
@ -93,6 +99,7 @@ export class CreateProfileDiscipline {
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
unStigma: string | null;
|
unStigma: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEmployeeDiscipline {
|
export class CreateProfileEmployeeDiscipline {
|
||||||
|
|
@ -103,6 +110,7 @@ export class CreateProfileEmployeeDiscipline {
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
unStigma: string | null;
|
unStigma: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileDiscipline = {
|
export type UpdateProfileDiscipline = {
|
||||||
|
|
@ -113,4 +121,5 @@ export type UpdateProfileDiscipline = {
|
||||||
refCommandDate?: Date | null;
|
refCommandDate?: Date | null;
|
||||||
refCommandNo?: string | null;
|
refCommandNo?: string | null;
|
||||||
unStigma?: string | null;
|
unStigma?: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,12 @@ export class ProfileDisciplineHistory extends EntityBase {
|
||||||
})
|
})
|
||||||
unStigma: string;
|
unStigma: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "แนบไฟล์เอกสาร",
|
||||||
|
default: false,
|
||||||
|
})
|
||||||
|
isUpload: boolean;
|
||||||
|
|
||||||
@ManyToOne(
|
@ManyToOne(
|
||||||
() => ProfileDiscipline,
|
() => ProfileDiscipline,
|
||||||
(profileDiscipline) => profileDiscipline.profileDisciplineHistories,
|
(profileDiscipline) => profileDiscipline.profileDisciplineHistories,
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,7 @@ export class CreateProfileDuty {
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEmployeeDuty {
|
export class CreateProfileEmployeeDuty {
|
||||||
|
|
@ -106,6 +107,7 @@ export class CreateProfileEmployeeDuty {
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileDuty = {
|
export type UpdateProfileDuty = {
|
||||||
|
|
|
||||||
|
|
@ -104,6 +104,7 @@ export class CreateProfileHonor {
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
type: string | null;
|
type: string | null;
|
||||||
isDate: boolean | null;
|
isDate: boolean | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEmployeeHonor {
|
export class CreateProfileEmployeeHonor {
|
||||||
|
|
@ -115,6 +116,7 @@ export class CreateProfileEmployeeHonor {
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
type: string | null;
|
type: string | null;
|
||||||
isDate: boolean | null;
|
isDate: boolean | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileHonor = {
|
export type UpdateProfileHonor = {
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,7 @@ export class CreateProfileInsignia {
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
note: string | null;
|
note: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEmployeeInsignia {
|
export class CreateProfileEmployeeInsignia {
|
||||||
|
|
@ -179,6 +180,7 @@ export class CreateProfileEmployeeInsignia {
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
note: string | null;
|
note: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileInsignia = {
|
export type UpdateProfileInsignia = {
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,12 @@ export class ProfileNopaid extends EntityBase {
|
||||||
})
|
})
|
||||||
refCommandNo: string;
|
refCommandNo: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "แนบไฟล์เอกสาร",
|
||||||
|
default: false,
|
||||||
|
})
|
||||||
|
isUpload: boolean;
|
||||||
|
|
||||||
@OneToMany(() => ProfileNopaidHistory, (profileNopaidHistory) => profileNopaidHistory.histories)
|
@OneToMany(() => ProfileNopaidHistory, (profileNopaidHistory) => profileNopaidHistory.histories)
|
||||||
profileNopaidHistories: ProfileNopaidHistory[];
|
profileNopaidHistories: ProfileNopaidHistory[];
|
||||||
|
|
||||||
|
|
@ -81,6 +87,7 @@ export class CreateProfileNopaid {
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEmployeeNopaid {
|
export class CreateProfileEmployeeNopaid {
|
||||||
|
|
@ -90,6 +97,7 @@ export class CreateProfileEmployeeNopaid {
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UpdateProfileNopaid = {
|
export type UpdateProfileNopaid = {
|
||||||
|
|
@ -98,4 +106,5 @@ export type UpdateProfileNopaid = {
|
||||||
reference?: string | null;
|
reference?: string | null;
|
||||||
refCommandDate?: Date | null;
|
refCommandDate?: Date | null;
|
||||||
refCommandNo?: string | null;
|
refCommandNo?: string | null;
|
||||||
|
isUpload?: boolean | null;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,12 @@ export class ProfileNopaidHistory extends EntityBase {
|
||||||
})
|
})
|
||||||
refCommandNo: string;
|
refCommandNo: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "แนบไฟล์เอกสาร",
|
||||||
|
default: false,
|
||||||
|
})
|
||||||
|
isUpload: boolean;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 40,
|
length: 40,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue