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

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

@ -98,8 +98,22 @@ export class PosMaster 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: "หมายเหตุ",
@ -260,8 +274,14 @@ export class CreatePosMaster {
@Column()
isDirector: boolean;
@Column()
isStaff: boolean;
@Column()
isOfficer: boolean;
@Column()
positionSign: string | null;
}
export type UpdatePosMaster = Partial<PosMaster>;