ข้อมูลอื่นๆ

This commit is contained in:
AnandaTon 2024-05-13 17:38:21 +07:00
parent 2d582be2a1
commit be804c356a
3 changed files with 179 additions and 1 deletions

View file

@ -18,6 +18,7 @@ import { ProfileChangeName } from "./ProfileChangeName";
import { ProfileFamilyHistory } from "./ProfileFamily";
import { ProfileEducation } from "./ProfileEducation";
import { ProfileAbility } from "./ProfileAbility";
import { ProfileOther } from "./ProfileOther";
@Entity("profileEmployee")
export class ProfileEmployee extends EntityBase {
@Column({
@ -248,6 +249,9 @@ export class ProfileEmployee extends EntityBase {
@OneToMany(() => ProfileAbility, (v) => v.profileEmployee)
profileAbilities: ProfileAbility[];
@OneToMany(() => ProfileOther, (v) => v.profileEmployee)
profileOthers: ProfileOther[];
@ManyToOne(() => EmployeePosLevel, (v) => v.profiles)
posLevel: EmployeePosLevel;
@ -291,7 +295,7 @@ export class CreateProfileEmployee {
gender: string | null;
relationship: string | null;
bloodGroup: string | null;
email: string | null ;
email: string | null;
phone: string | null;
}