Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
Kittapath 2024-02-06 16:24:17 +07:00
commit 64d00339bb

View file

@ -168,11 +168,11 @@ 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;
@ManyToOne(() => PosMaster, (posMaster) => posMaster.next_holder)
@ManyToOne(() => Profile, (posMaster) => posMaster.next_holders)
@JoinColumn({ name: "next_holderId" })
next_holder: Profile;