fix: update update interface cannot be null
This commit is contained in:
parent
e64dbf20ce
commit
8339c55472
2 changed files with 34 additions and 59 deletions
|
|
@ -75,29 +75,23 @@ export class ProfileHonor extends EntityBase {
|
|||
}
|
||||
|
||||
export class CreateProfileHonor {
|
||||
@Column("uuid")
|
||||
profileId: string | null;
|
||||
|
||||
@Column()
|
||||
isActive: boolean;
|
||||
|
||||
@Column()
|
||||
detail: string | null;
|
||||
|
||||
@Column()
|
||||
issueDate: Date | null;
|
||||
|
||||
@Column()
|
||||
issuer: string | null;
|
||||
|
||||
@Column()
|
||||
refCommandDate: Date | null;
|
||||
|
||||
@Column()
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string | null;
|
||||
|
||||
@Column()
|
||||
isDate: boolean | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileHonor = Partial<CreateProfileHonor>;
|
||||
export type UpdateProfileHonor = {
|
||||
profileId?: string | null;
|
||||
isActive?: boolean;
|
||||
detail?: string | null;
|
||||
issueDate?: Date | null;
|
||||
issuer?: string | null;
|
||||
refCommandDate?: Date | null;
|
||||
refCommandNo?: string | null;
|
||||
isDate?: boolean | null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue