tabel OrgGroup
This commit is contained in:
parent
688e94e26a
commit
0069c3f491
7 changed files with 71 additions and 37 deletions
|
|
@ -11,7 +11,7 @@ enum OrgChild3Rank {
|
|||
DIVISION = "division",
|
||||
SECTION = "section",
|
||||
}
|
||||
|
||||
@Entity("orgChild3")
|
||||
export class OrgChild3 extends EntityBase {
|
||||
// @Column({
|
||||
// comment: "",
|
||||
|
|
@ -105,13 +105,13 @@ export class OrgChild3 extends EntityBase {
|
|||
})
|
||||
fkOrgChild2Id: string;
|
||||
|
||||
@ManyToOne(() => OrgRoot, orgRoot => orgRoot.orgChild3s)
|
||||
@JoinColumn({ name: "fkOrgRootId" })
|
||||
orgRoot: OrgRoot;
|
||||
// @ManyToOne(() => OrgRoot, orgRoot => orgRoot.orgChild3s)
|
||||
// @JoinColumn({ name: "fkOrgRootId" })
|
||||
// orgRoot: OrgRoot;
|
||||
|
||||
@ManyToOne(() => OrgChild1, orgChild1 => orgChild1.orgChild3s)
|
||||
@JoinColumn({ name: "fkOrgChild1Id" })
|
||||
orgChild1: OrgChild1;
|
||||
// @ManyToOne(() => OrgChild1, orgChild1 => orgChild1.orgChild3s)
|
||||
// @JoinColumn({ name: "fkOrgChild1Id" })
|
||||
// orgChild1: OrgChild1;
|
||||
|
||||
@ManyToOne(() => OrgChild2, orgChild2 => orgChild2.orgChild3s)
|
||||
@JoinColumn({ name: "fkOrgChild2Id" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue