เพิ่มฟิว isResult

This commit is contained in:
Kittapath 2024-02-27 12:56:44 +07:00
parent f5ba594a84
commit 2a7a5d5922
2 changed files with 52 additions and 0 deletions

View file

@ -216,6 +216,36 @@ export class SalaryProfile extends EntityBase {
})
child4: string;
@Column({
comment: "ผลการประเมิน",
default: false,
})
isResult: boolean;
@Column({
comment: "ระยะเวลา",
default: false,
})
isDuration: boolean;
@Column({
comment: "การลงโทษ",
default: false,
})
isPunish: boolean;
@Column({
comment: "พักราชการ",
default: false,
})
isRetired: boolean;
@Column({
comment: "ขาดราชการ",
default: false,
})
isRetired2: boolean;
@ManyToOne(() => SalaryOrg, (salaryOrg) => salaryOrg.salaryProfiles)
@JoinColumn({ name: "salaryOrgId" })
salaryOrg: SalaryOrg;