แก้ fk ข้อมูลหลัก

This commit is contained in:
Kittapath 2024-06-10 10:26:34 +07:00
parent 8348c32e5b
commit b0cec06828
4 changed files with 0 additions and 24 deletions

View file

@ -12,12 +12,6 @@ export class BloodGroup extends EntityBase {
default: null,
})
name: string;
@OneToMany(() => Profile, (v) => v.bloodGroup)
profile: Profile[];
@OneToMany(() => Profile, (v) => v.bloodGroup)
profileEmployee: ProfileEmployee[];
}
export class CreateBloodGroup {

View file

@ -12,12 +12,6 @@ export class Gender extends EntityBase {
default: null,
})
name: string;
@OneToMany(() => Profile, (v) => v.gender)
profile: Profile[];
@OneToMany(() => ProfileEmployee, (v) => v.gender)
profileEmployee: ProfileEmployee[];
}
export class CreateGender {

View file

@ -13,12 +13,6 @@ export class Relationship extends EntityBase {
default: null,
})
name: string;
@OneToMany(() => Profile, (v) => v.relationship)
profile: Profile[];
@OneToMany(() => ProfileEmployee, (v) => v.relationship)
profileEmployee: ProfileEmployee[];
}
export class CreateRelationship {

View file

@ -12,12 +12,6 @@ export class Religion extends EntityBase {
default: null,
})
name: string;
@OneToMany(() => Profile, (v) => v.religion)
profile: Profile[];
@OneToMany(() => ProfileEmployee, (v) => v.religion)
profileEmployee: ProfileEmployee[];
}
export class CreateReligion {