diff --git a/src/entities/EmployeePosMaster.ts b/src/entities/EmployeePosMaster.ts index e4c0bf39..22c21dac 100644 --- a/src/entities/EmployeePosMaster.ts +++ b/src/entities/EmployeePosMaster.ts @@ -87,6 +87,18 @@ export class EmployeePosMaster extends EntityBase { }) isSit: boolean; + @Column({ + comment: "เป็นผู้อำนวยการ", + default: false, + }) + isDirector: boolean; + + @Column({ + comment: "เป็นเจ้าหน้าที่", + default: false, + }) + isOfficer: boolean; + @Column({ nullable: true, comment: "หมายเหตุ", diff --git a/src/entities/PosMaster.ts b/src/entities/PosMaster.ts index ed24fb89..ca8da472 100644 --- a/src/entities/PosMaster.ts +++ b/src/entities/PosMaster.ts @@ -86,6 +86,18 @@ export class PosMaster extends EntityBase { }) isSit: boolean; + @Column({ + comment: "เป็นผู้อำนวยการ", + default: false, + }) + isDirector: boolean; + + @Column({ + comment: "เป็นเจ้าหน้าที่", + default: false, + }) + isOfficer: boolean; + @Column({ nullable: true, comment: "หมายเหตุ",