fix: ลบ type
This commit is contained in:
parent
169fada8ae
commit
efb60a0c04
4 changed files with 8 additions and 145 deletions
|
|
@ -5,13 +5,12 @@ import { ProfileAbility } from "./ProfileAbility";
|
|||
|
||||
@Entity("profileAbilityHistory")
|
||||
export class ProfileAbilityHistory extends EntityBase {
|
||||
|
||||
@Column({
|
||||
comment: "สถานะการใช้งาน",
|
||||
default: false,
|
||||
})
|
||||
isActive: boolean;
|
||||
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "หมายเหตุ",
|
||||
|
|
@ -72,32 +71,3 @@ export class ProfileAbilityHistory extends EntityBase {
|
|||
@JoinColumn({ name: "profileAbilityId" })
|
||||
histories: ProfileAbility;
|
||||
}
|
||||
|
||||
export class CreateProfileAbilityHistory {
|
||||
|
||||
@Column()
|
||||
isActive: boolean;
|
||||
|
||||
@Column()
|
||||
remark: string | null;
|
||||
|
||||
@Column()
|
||||
detail: string | null;
|
||||
|
||||
@Column()
|
||||
reference: string | null;
|
||||
|
||||
@Column()
|
||||
dateStart: Date | null;
|
||||
|
||||
@Column()
|
||||
dateEnd: Date | null;
|
||||
|
||||
@Column()
|
||||
field: string | null;
|
||||
|
||||
@Column("uuid")
|
||||
ProfileAbilityId: string | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileAbilityHistory = Partial<CreateProfileAbilityHistory>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue