fix
This commit is contained in:
parent
1c55c76741
commit
b0f8d3dcb6
1 changed files with 4 additions and 4 deletions
|
|
@ -168,13 +168,13 @@ export class PosMaster extends EntityBase {
|
|||
@JoinColumn({ name: "orgChild4Id" })
|
||||
orgChild4: OrgChild4;
|
||||
|
||||
@ManyToOne(() => PosMaster, (posMaster) => posMaster.current_holder)
|
||||
@ManyToOne(() => Profile, (posMaster) => posMaster.current_holders)
|
||||
@JoinColumn({ name: "current_holderId" })
|
||||
current_holder: Profile[];
|
||||
current_holder: Profile;
|
||||
|
||||
@ManyToOne(() => PosMaster, (posMaster) => posMaster.next_holder)
|
||||
@ManyToOne(() => Profile, (posMaster) => posMaster.next_holders)
|
||||
@JoinColumn({ name: "next_holderId" })
|
||||
next_holder: Profile[];
|
||||
next_holder: Profile;
|
||||
|
||||
@OneToMany(() => Position, (position) => position.posMaster)
|
||||
positions: Position[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue