update entity OrgGroup and Org_013 - 15
This commit is contained in:
parent
6d136f8a97
commit
dde127a222
9 changed files with 273 additions and 24 deletions
|
|
@ -100,6 +100,12 @@ export class OrgChild2 extends EntityBase {
|
|||
})
|
||||
orgChild1Id: string;
|
||||
|
||||
@Column({
|
||||
length: 40,
|
||||
default: "00000000-0000-0000-0000-000000000000",
|
||||
})
|
||||
isAncestorDNA: string;
|
||||
|
||||
@ManyToOne(() => OrgChild1, orgChild1 => orgChild1.orgChild2s)
|
||||
@JoinColumn({ name: "orgChild1Id" })
|
||||
orgChild1: OrgChild1;
|
||||
|
|
@ -138,11 +144,8 @@ export class CreateOrgChild2 {
|
|||
@Column()
|
||||
orgChild2IsNormal: boolean;
|
||||
|
||||
@Column('uuid')
|
||||
orgRootId: string;
|
||||
|
||||
@Column('uuid')
|
||||
orgChild1Id: string;
|
||||
|
||||
}
|
||||
export type UpdateOrgChild2 = Partial<OrgChild2>;
|
||||
export type UpdateOrgChild2 = Partial<CreateOrgChild2>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue