วันที่เกษียณ

This commit is contained in:
Kittapath 2024-05-14 17:54:17 +07:00
parent 39e6c6e1c5
commit 27fefee8d7
3 changed files with 58 additions and 18 deletions

View file

@ -154,7 +154,7 @@ export class Profile extends EntityBase {
@Column({
nullable: true,
type: "datetime",
comment: "วันที่พักราชการ",
comment: "วันครบเกษียณอายุ",
default: null,
})
dateRetire: Date;
@ -167,6 +167,14 @@ export class Profile extends EntityBase {
})
dateAppoint: Date;
@Column({
nullable: true,
type: "datetime",
comment: "วันที่เกษียณอายุราชการตามกฏหมาย",
default: null,
})
dateRetireLaw: Date;
@Column({
nullable: true,
type: "datetime",
@ -327,7 +335,7 @@ export class Profile extends EntityBase {
@OneToMany(() => ProfileFamilyMother, (v) => v.profile)
profileFamilyMother: ProfileFamilyMother[];
@OneToMany(() => ProfileFamilyCouple , (v) => v.profile)
@OneToMany(() => ProfileFamilyCouple, (v) => v.profile)
profileFamilyCouple: ProfileFamilyCouple[];
@ManyToOne(() => PosLevel, (posLevel) => posLevel.profiles)