api เช็คสถานะโครงสร้าง

This commit is contained in:
Bright 2024-11-13 11:32:45 +07:00
parent 8d48dc8af7
commit 5bba5822ea
7 changed files with 57 additions and 448 deletions

View file

@ -45,6 +45,12 @@ export class OrgRevision extends EntityBase {
})
orgRevisionIsDraft: boolean;
@Column({
comment: "สถานะเช็คโครงสร้างส่งคนไปออกคำสั่งหรือไม่",
default: false,
})
isLock: boolean;
@OneToMany(() => PosMaster, (posMaster) => posMaster.orgRevision)
posMasters: PosMaster[];