fix: input profileId must not be change
This commit is contained in:
parent
1862b02a86
commit
fc89b78aa5
6 changed files with 8 additions and 21 deletions
|
|
@ -69,28 +69,20 @@ export class ProfileCertificate extends EntityBase {
|
|||
}
|
||||
|
||||
export class CreateProfileCertificate {
|
||||
|
||||
@Column("uuid")
|
||||
profileId: string | null;
|
||||
|
||||
@Column()
|
||||
expireDate: Date | null;
|
||||
|
||||
@Column()
|
||||
isActive: boolean;
|
||||
|
||||
@Column()
|
||||
issueDate: Date | null;
|
||||
|
||||
@Column()
|
||||
certificateNo: string | null;
|
||||
|
||||
@Column()
|
||||
certificateType: string | null;
|
||||
|
||||
@Column()
|
||||
issuer: string | null;
|
||||
|
||||
}
|
||||
|
||||
export type UpdateProfileCertificate = Partial<CreateProfileCertificate>;
|
||||
export type UpdateProfileCertificate = {
|
||||
expireDate?: Date | null;
|
||||
isActive?: boolean;
|
||||
issueDate?: Date | null;
|
||||
certificateNo?: string | null;
|
||||
certificateType?: string | null;
|
||||
issuer?: string | null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue