ข้อมูลอื่นๆ
This commit is contained in:
parent
2d582be2a1
commit
be804c356a
3 changed files with 179 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue