crud emp myinfo

This commit is contained in:
AdisakKanthawilang 2024-05-14 10:29:05 +07:00
parent 2d582be2a1
commit ac82b6351f
10 changed files with 1050 additions and 2 deletions

View file

@ -15,7 +15,7 @@ import { ProfileDuty } from "./ProfileDuty";
import { ProfileNopaid } from "./ProfileNopaid";
import { ProfileDiscipline } from "./ProfileDiscipline";
import { ProfileChangeName } from "./ProfileChangeName";
import { ProfileFamilyHistory } from "./ProfileFamily";
import { ProfileChildren, ProfileFamilyHistory } from "./ProfileFamily";
import { ProfileEducation } from "./ProfileEducation";
import { ProfileAbility } from "./ProfileAbility";
@Entity("profileEmployee")
@ -242,6 +242,9 @@ export class ProfileEmployee extends EntityBase {
@OneToMany(() => ProfileFamilyHistory, (v) => v.profileEmployee)
profileFamilys: ProfileFamilyHistory[];
@OneToMany(() => ProfileChildren, (v) => v.profileEmployee)
profileChildrens: ProfileChildren[];
@OneToMany(() => ProfileEducation, (v) => v.profileEmployee)
profileEducations: ProfileEducation[];