fix เอกสาร กพ.7/กก.1 #1642

This commit is contained in:
Bright 2025-07-23 15:07:59 +07:00
parent ee2221b719
commit acfac64f9c
6 changed files with 1451 additions and 39 deletions

View file

@ -665,6 +665,14 @@ export class ProfileHistory extends Profile {
})
profileId: string;
@Column({
nullable: true,
type: "datetime",
comment: "วันเกิดเดิม โดยจะบันทึกเมื่อมีการแก้ไขข้อมูลส่วนตัว",
default: null,
})
birthDateOld: Date;
@ManyToOne(() => Profile, (v) => v.histories, { onDelete: "CASCADE" })
profile: Profile;
}

View file

@ -928,6 +928,14 @@ export class ProfileEmployeeHistory extends ProfileEmployee {
})
profileEmployeeId: string;
@Column({
nullable: true,
type: "datetime",
comment: "วันเกิดเดิม โดยจะบันทึกเมื่อมีการแก้ไขข้อมูลส่วนตัว",
default: null,
})
birthDateOld: Date;
@ManyToOne(() => ProfileEmployee, (v) => v.histories, { onDelete: "CASCADE" })
profileEmployee: ProfileEmployee;
}