เพิ่มฟิลด์

This commit is contained in:
Bright 2025-01-27 11:14:38 +07:00
parent 9bf7ddf267
commit 94771726aa
3 changed files with 124 additions and 0 deletions

View file

@ -365,6 +365,46 @@ export class Profile extends EntityBase {
})
mouthSalaryAmount: Double;
@Column({
nullable: true,
length: 40,
comment: "ไอดีคำสั่งพ้นจากราชการ",
default: null,
})
leaveCommandId: string;
@Column({
nullable: true,
length: 255,
comment: "เลขที่คำสั่งพ้นจากราชการ",
default: null,
})
leaveCommandNo: string;
@Column({
nullable: true,
comment: "หมายเหตุแนวตั้งคำสั่งพ้นจากราชการ",
type: "text",
default: null,
})
leaveRemark: string;
@Column({
nullable: true,
type: "datetime",
comment: "วันที่ลงนามคำสั่งพ้นจากราชการ",
default: null,
})
leaveDate: Date | null;
@Column({
nullable: true,
type: "text",
comment: "ประเภทพ้นคำสั่งพ้นจากราชการ",
default: null,
})
leaveType: string;
@OneToMany(() => PosMaster, (posMaster) => posMaster.current_holder)
current_holders: PosMaster[];