search by ancestorDNA

This commit is contained in:
kittapath 2025-01-30 08:53:02 +07:00
parent dd8996336b
commit 3e57b67432
3 changed files with 88 additions and 5 deletions

View file

@ -27,6 +27,13 @@ export class Development extends EntityBase {
})
rootId: string;
@Column({
nullable: true,
comment: "id Dna หน่วยงาน",
default: null,
})
rootDnaId: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน",
@ -48,6 +55,13 @@ export class Development extends EntityBase {
})
child1Id: string;
@Column({
nullable: true,
comment: "id Dna หน่วยงาน child1",
default: null,
})
child1DnaId: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child1",
@ -69,6 +83,13 @@ export class Development extends EntityBase {
})
child2Id: string;
@Column({
nullable: true,
comment: "id Dna หน่วยงาน child2",
default: null,
})
child2DnaId: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child2",
@ -90,6 +111,13 @@ export class Development extends EntityBase {
})
child3Id: string;
@Column({
nullable: true,
comment: "id Dna หน่วยงาน child3",
default: null,
})
child3DnaId: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child3",
@ -111,6 +139,13 @@ export class Development extends EntityBase {
})
child4Id: string;
@Column({
nullable: true,
comment: "id Dna หน่วยงาน child4",
default: null,
})
child4DnaId: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child4",