add isupload
This commit is contained in:
parent
e570339e1a
commit
f54a35f770
11 changed files with 55 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue