เพิ่มฟิลด์ "หน่วยงานที่ออกคำสั่ง"

This commit is contained in:
Bright 2025-04-25 14:13:38 +07:00
parent ea8d60fda0
commit 38eab9a11e

View file

@ -212,6 +212,22 @@ export class ProfileSalaryHistory extends EntityBase {
})
commandId: string;
@Column({
nullable: true,
length: 255,
comment: "หน่วยงานที่ออกคำสั่ง",
default: null,
})
posNumCodeSit: string;
@Column({
nullable: true,
length: 255,
comment: "หน่วยงานที่ออกคำสั่ง(ตัวย่อ)",
default: null,
})
posNumCodeSitAbb: string;
@ManyToOne(() => Command, (command) => command.profileSalaryHistorys)
@JoinColumn({ name: "commandId" })
command: Command;