แก้apiข้อมูลหลัก
This commit is contained in:
parent
73e07dfed6
commit
6b78a365fa
26 changed files with 1816 additions and 988 deletions
|
|
@ -6,6 +6,7 @@ import { OrgChild1 } from "./OrgChild1";
|
|||
import { OrgChild2 } from "./OrgChild2";
|
||||
import { OrgChild3 } from "./OrgChild3";
|
||||
import { OrgChild4 } from "./OrgChild4";
|
||||
import { EmployeePosMaster } from "./EmployeePosMaster";
|
||||
|
||||
@Entity("orgRevision")
|
||||
export class OrgRevision extends EntityBase {
|
||||
|
|
@ -47,6 +48,9 @@ export class OrgRevision extends EntityBase {
|
|||
@OneToMany(() => PosMaster, (posMaster) => posMaster.orgRevision)
|
||||
posMasters: PosMaster[];
|
||||
|
||||
@OneToMany(() => EmployeePosMaster, (employeePosMaster) => employeePosMaster.orgRevision)
|
||||
employeePosMasters: EmployeePosMaster[];
|
||||
|
||||
@OneToMany(() => OrgRoot, (orgRoot) => orgRoot.orgRevision)
|
||||
orgRoots: OrgRoot[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue