fix: input profileId must not be change

This commit is contained in:
Methapon2001 2024-03-20 11:00:57 +07:00
parent 1862b02a86
commit fc89b78aa5
6 changed files with 8 additions and 21 deletions

View file

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