fix: ลบ isActive
This commit is contained in:
parent
c13ca10a3e
commit
23f8382928
18 changed files with 36 additions and 165 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue