Fix Entity
This commit is contained in:
parent
67c54e3273
commit
b7ca6795cb
6 changed files with 49 additions and 35 deletions
|
|
@ -66,11 +66,8 @@ export class ProfileFamilyFather extends EntityBase {
|
|||
})
|
||||
profileEmployeeId: string;
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileFamilyFatherHistory,
|
||||
(v) => v.histories,
|
||||
)
|
||||
profileFamilyFather: ProfileFamilyFatherHistory[];
|
||||
@OneToMany(() => ProfileFamilyFatherHistory, (v) => v.profileFamilyFather)
|
||||
histories: ProfileFamilyFatherHistory[];
|
||||
|
||||
@ManyToOne(() => Profile, (v) => v.profileFamilyFather)
|
||||
@JoinColumn({ name: "profileId" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue