From b0cec0682841ebc6fbdbb1cc67c2f7f30f81a902 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Mon, 10 Jun 2024 10:26:34 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20fk=20=E0=B8=82?= =?UTF-8?q?=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=AB=E0=B8=A5?= =?UTF-8?q?=E0=B8=B1=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entities/BloodGroup.ts | 6 ------ src/entities/Gender.ts | 6 ------ src/entities/Relationship.ts | 6 ------ src/entities/Religion.ts | 6 ------ 4 files changed, 24 deletions(-) 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 {