fix: ลบ isActive

This commit is contained in:
Net 2024-03-21 14:11:53 +07:00 committed by Methapon2001
parent c13ca10a3e
commit 23f8382928
18 changed files with 36 additions and 165 deletions

View file

@ -20,12 +20,6 @@ export class ProfileDisciplineHistory extends EntityBase {
})
profileDisciplineId: string;
@Column({
comment: "สถานะการใช้งาน",
default: false,
})
isActive: boolean;
@Column({
nullable: true,
comment: "ระดับความผิด",
@ -41,7 +35,7 @@ export class ProfileDisciplineHistory extends EntityBase {
default: null,
})
detail: string;
@Column({
nullable: true,
type: "datetime",
@ -66,7 +60,10 @@ export class ProfileDisciplineHistory extends EntityBase {
})
unStigma: string;
@ManyToOne(() => ProfileDiscipline, (profileDiscipline) => profileDiscipline.profileDisciplineHistories)
@ManyToOne(
() => ProfileDiscipline,
(profileDiscipline) => profileDiscipline.profileDisciplineHistories,
)
@JoinColumn({ name: "profileDisciplineId" })
histories: ProfileDiscipline;
}