diff --git a/src/entities/BloodGroup.ts b/src/entities/BloodGroup.ts index ad2fb4de..3a65fb35 100644 --- a/src/entities/BloodGroup.ts +++ b/src/entities/BloodGroup.ts @@ -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 { diff --git a/src/entities/Gender.ts b/src/entities/Gender.ts index 834818a4..34c1c799 100644 --- a/src/entities/Gender.ts +++ b/src/entities/Gender.ts @@ -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 { diff --git a/src/entities/Relationship.ts b/src/entities/Relationship.ts index d95bf7ac..6c018435 100644 --- a/src/entities/Relationship.ts +++ b/src/entities/Relationship.ts @@ -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 { diff --git a/src/entities/Religion.ts b/src/entities/Religion.ts index 55d393d4..a39b55fb 100644 --- a/src/entities/Religion.ts +++ b/src/entities/Religion.ts @@ -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 {