เพิ่มตำแหน่งเจ้าหน้าที่

This commit is contained in:
kittapath 2024-09-12 22:53:58 +07:00
parent 3b0d8c24a7
commit 6f11eecb8f
15 changed files with 771 additions and 33 deletions

View file

@ -97,8 +97,22 @@ export class EmployeePosMaster extends EntityBase {
comment: "เป็นเจ้าหน้าที่",
default: false,
})
isStaff: boolean;
@Column({
comment: "เป็นสกจ",
default: false,
})
isOfficer: boolean;
@Column({
nullable: true,
comment: "ตำแหน่งใต้ลายเซ็นต์",
type: "text",
default: null,
})
positionSign: string;
@Column({
nullable: true,
comment: "หมายเหตุ",
@ -253,8 +267,14 @@ export class CreateEmployeePosMaster {
@Column()
isDirector: boolean;
@Column()
isStaff: boolean;
@Column()
isOfficer: boolean;
@Column()
positionSign: string | null;
}
export type UpdateEmployeePosMaster = Partial<EmployeePosMaster>;