ตำแหน่งติดเงื่อนไข

This commit is contained in:
kittapath 2024-10-31 20:59:14 +07:00
parent e974821777
commit f7cf968870
3 changed files with 389 additions and 0 deletions

View file

@ -202,6 +202,20 @@ export class PosMaster extends EntityBase {
})
statusReport: string;
@Column({
comment: "ตำแหน่งติดเงื่อนไข",
default: false,
})
isCondition: boolean;
@Column({
nullable: true,
comment: "หมายเหตุตำแหน่งติดเงื่อนไข",
type: "text",
default: null,
})
conditionReason: string;
@ManyToOne(() => AuthRole, (authRole) => authRole.posMasters)
@JoinColumn({ name: "authRoleId" })
authRole: AuthRole;