relation posMaster to Root and Child1-4
This commit is contained in:
parent
afc97292d3
commit
8cb8b449b4
6 changed files with 47 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import { OrgChild1 } from "./OrgChild1";
|
|||
import { OrgChild3 } from "./OrgChild3";
|
||||
import { OrgChild4 } from "./OrgChild4";
|
||||
import { OrgRevision } from "./OrgRevision";
|
||||
import { PosMaster } from "./PosMaster";
|
||||
|
||||
// ENUM orgChild2Rank
|
||||
enum OrgChild2Rank {
|
||||
|
|
@ -123,6 +124,9 @@ export class OrgChild2 extends EntityBase {
|
|||
|
||||
@OneToMany(() => OrgChild4, (orgChild4) => orgChild4.orgChild2)
|
||||
orgChild4s: OrgChild4[];
|
||||
|
||||
@OneToMany(() => PosMaster, (posMaster) => posMaster.orgChild2)
|
||||
posMasters: PosMaster[];
|
||||
}
|
||||
|
||||
export class CreateOrgChild2 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue