แก้ fk ข้อมูลหลัก
This commit is contained in:
parent
8348c32e5b
commit
b0cec06828
4 changed files with 0 additions and 24 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue