update entity OrgGroup and Org_013 - 15

This commit is contained in:
AdisakKanthawilang 2024-01-26 09:56:27 +07:00
parent 6d136f8a97
commit dde127a222
9 changed files with 273 additions and 24 deletions

View file

@ -85,6 +85,12 @@ export class OrgChild1 extends EntityBase {
})
orgRootId: string;
@Column({
length: 40,
default: "00000000-0000-0000-0000-000000000000",
})
isAncestorDNA: string;
@ManyToOne(() => OrgRoot, orgRoot => orgRoot.orgChild1s)
@JoinColumn({ name: "orgRootId" })
orgRoot: OrgRoot;