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

@ -97,6 +97,12 @@ export class OrgChild3 extends EntityBase {
})
orgChild2Id: string;
@Column({
length: 40,
default: "00000000-0000-0000-0000-000000000000",
})
isAncestorDNA: string;
@ManyToOne(() => OrgChild2, orgChild2 => orgChild2.orgChild3s)
@JoinColumn({ name: "orgChild2Id" })
orgChild2: OrgChild2;
@ -140,4 +146,4 @@ export class CreateOrgChild3 {
}
export type UpdateOrgChild3 = Partial<CreateOrgChild3> & { orgChild3Rank?: OrgChild3Rank };;
export type UpdateOrgChild3 = Partial<CreateOrgChild3> & { orgChild3Rank?: OrgChild3Rank };