isAncestorDNA to ancestorDNA

This commit is contained in:
Kittapath 2024-02-01 13:29:15 +07:00
parent 22b80868d4
commit 2832ab2268
9 changed files with 143 additions and 80 deletions

View file

@ -95,7 +95,7 @@ export class OrgChild1 extends EntityBase {
length: 40,
default: null,
})
isAncestorDNA: string;
ancestorDNA: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild1s)
@JoinColumn({ name: "orgRevisionId" })

View file

@ -99,7 +99,7 @@ export class OrgChild2 extends EntityBase {
length: 40,
default: null,
})
isAncestorDNA: string;
ancestorDNA: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild2s)
@JoinColumn({ name: "orgRevisionId" })

View file

@ -105,7 +105,7 @@ export class OrgChild3 extends EntityBase {
length: 40,
default: null,
})
isAncestorDNA: string;
ancestorDNA: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild3s)
@JoinColumn({ name: "orgRevisionId" })

View file

@ -109,7 +109,7 @@ export class OrgChild4 extends EntityBase {
length: 40,
default: null,
})
isAncestorDNA: string;
ancestorDNA: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild4s)
@JoinColumn({ name: "orgRevisionId" })

View file

@ -85,7 +85,7 @@ export class OrgRoot extends EntityBase {
length: 40,
default: null,
})
isAncestorDNA: string;
ancestorDNA: string;
@Column({
length: 40,

View file

@ -54,7 +54,7 @@ export class PosMaster extends EntityBase {
length: 40,
default: null,
})
isAncestorDNA: string;
ancestorDNA: string;
@Column({
nullable: true,