โครงการเพิ่มค้นหาหน่วยงาน

This commit is contained in:
Kittapath 2024-04-17 22:34:21 +07:00
parent 281a8515ba
commit ddc0e85e3e
5 changed files with 297 additions and 103 deletions

View file

@ -38,7 +38,91 @@ export class Development extends EntityBase {
comment: "ชื่อย่อหน่วยงาน",
default: null,
})
orgRootShortName: string;
rootShortName: string;
@Column({
nullable: true,
comment: "id หน่วยงาน child1",
default: null,
})
child1Id: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child1",
default: null,
})
child1: string;
@Column({
nullable: true,
comment: "ชื่อย่อหน่วยงาน child1",
default: null,
})
child1ShortName: string;
@Column({
nullable: true,
comment: "id หน่วยงาน child2",
default: null,
})
child2Id: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child2",
default: null,
})
child2: string;
@Column({
nullable: true,
comment: "ชื่อย่อหน่วยงาน child2",
default: null,
})
child2ShortName: string;
@Column({
nullable: true,
comment: "id หน่วยงาน child3",
default: null,
})
child3Id: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child3",
default: null,
})
child3: string;
@Column({
nullable: true,
comment: "ชื่อย่อหน่วยงาน child3",
default: null,
})
child3ShortName: string;
@Column({
nullable: true,
comment: "id หน่วยงาน child4",
default: null,
})
child4Id: string;
@Column({
nullable: true,
comment: "ชื่อหน่วยงาน child4",
default: null,
})
child4: string;
@Column({
nullable: true,
comment: "ชื่อย่อหน่วยงาน child4",
default: null,
})
child4ShortName: string;
@Column({
nullable: true,
@ -531,11 +615,9 @@ export class CreateDevelopment {
@Column()
projectName: string;
@Column()
root: string;
node: number;
@Column()
rootId: string;
@Column()
orgRootShortName: string;
nodeId: string;
@Column()
orgRevisionId: string;
}
@ -550,11 +632,9 @@ export class UpdateDevelopment1 {
@Column()
objective: string | null;
@Column()
root: string;
node: number;
@Column()
rootId: string;
@Column()
orgRootShortName: string;
nodeId: string;
@Column()
orgRevisionId: string;
@Column()