no message

This commit is contained in:
Kittapath 2024-02-06 15:49:02 +07:00
parent 1c55c76741
commit 0d27451e16
2 changed files with 3 additions and 2 deletions

View file

@ -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[];

View file

@ -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[];
}