no message
This commit is contained in:
parent
1c55c76741
commit
0d27451e16
2 changed files with 3 additions and 2 deletions
|
|
@ -170,11 +170,11 @@ export class PosMaster extends EntityBase {
|
|||
|
||||
@ManyToOne(() => PosMaster, (posMaster) => posMaster.current_holder)
|
||||
@JoinColumn({ name: "current_holderId" })
|
||||
current_holder: Profile[];
|
||||
current_holder: Profile;
|
||||
|
||||
@ManyToOne(() => PosMaster, (posMaster) => posMaster.next_holder)
|
||||
@JoinColumn({ name: "next_holderId" })
|
||||
next_holder: Profile[];
|
||||
next_holder: Profile;
|
||||
|
||||
@OneToMany(() => Position, (position) => position.posMaster)
|
||||
positions: Position[];
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ export class Profile extends EntityBase {
|
|||
|
||||
@OneToMany(() => PosMaster, (posMaster) => posMaster.current_holder)
|
||||
current_holders: PosMaster[];
|
||||
|
||||
@OneToMany(() => PosMaster, (posMaster) => posMaster.next_holder)
|
||||
next_holders: PosMaster[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue