fix: ลบ column ไม่ได้ใช้ออก
This commit is contained in:
parent
61b166cabc
commit
8b3398e7f7
6 changed files with 14 additions and 84 deletions
|
|
@ -13,12 +13,6 @@ export class ProfileHonor extends EntityBase {
|
|||
})
|
||||
profileId: string;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะการใช้งาน",
|
||||
default: false,
|
||||
})
|
||||
isActive: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 2000,
|
||||
|
|
@ -38,7 +32,7 @@ export class ProfileHonor extends EntityBase {
|
|||
@Column({
|
||||
nullable: true,
|
||||
length: 200,
|
||||
comment: "หน่วยงานที่ออก",
|
||||
comment: "หน่วยงานที่ออก ",
|
||||
default: null,
|
||||
})
|
||||
issuer: string;
|
||||
|
|
@ -59,13 +53,6 @@ export class ProfileHonor extends EntityBase {
|
|||
})
|
||||
refCommandNo: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ประเภทช่วงเวลาการศึกษา",
|
||||
default: null,
|
||||
})
|
||||
isDate: boolean;
|
||||
|
||||
@OneToMany(() => ProfileHonorHistory, (profileHonorHistory) => profileHonorHistory.histories)
|
||||
profileHonorHistories: ProfileHonorHistory[];
|
||||
|
||||
|
|
@ -76,21 +63,17 @@ export class ProfileHonor extends EntityBase {
|
|||
|
||||
export class CreateProfileHonor {
|
||||
profileId: string | null;
|
||||
isActive: boolean;
|
||||
detail: string | null;
|
||||
issueDate: Date | null;
|
||||
issuer: string | null;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string | null;
|
||||
isDate: boolean | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileHonor = {
|
||||
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