ตำแหน่งติดเงื่อนไข
This commit is contained in:
parent
e974821777
commit
f7cf968870
3 changed files with 389 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue