fix เอกสาร กพ.7/กก.1 #1642
This commit is contained in:
parent
ee2221b719
commit
acfac64f9c
6 changed files with 1451 additions and 39 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue