Migrate อัตรากำลังลูกจ้างประจำ เพิ่มเมนูคัดลอก/จัดการตำแหน่งติดเงื่อนไข #2316
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m25s

&& Fix Bug กดลบถาวรคำสั่งแล้ว error #216
This commit is contained in:
harid 2026-02-23 15:06:32 +07:00
parent 673da9940d
commit f6c726baa5
4 changed files with 66 additions and 0 deletions

View file

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