This commit is contained in:
kittapath 2025-02-10 12:07:09 +07:00
parent d4f440295c
commit 939c121ac4
12 changed files with 452 additions and 0 deletions

View file

@ -140,6 +140,38 @@ export class OrgChild1 extends EntityBase {
@JoinColumn({ name: "orgRevisionId" })
orgRevision: OrgRevision;
@Column({
nullable: true,
length: 5,
comment: "DEPARTMENT_CODE",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "DIVISION_CODE",
default: null,
})
DIVISION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "SECTION_CODE",
default: null,
})
SECTION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "JOB_CODE",
default: null,
})
JOB_CODE: string;
@ManyToOne(() => OrgRoot, (orgRoot) => orgRoot.orgChild1s)
@JoinColumn({ name: "orgRootId" })
orgRoot: OrgRoot;
@ -173,6 +205,18 @@ export class CreateOrgChild1 {
@Column()
orgChild1RankSub?: string;
@Column()
DEPARTMENT_CODE?: string;
@Column()
DIVISION_CODE?: string;
@Column()
SECTION_CODE?: string;
@Column()
JOB_CODE?: string;
@Column()
orgChild1PhoneEx?: string;

View file

@ -112,6 +112,38 @@ export class OrgChild2 extends EntityBase {
})
orgRevisionId: string;
@Column({
nullable: true,
length: 5,
comment: "DEPARTMENT_CODE",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "DIVISION_CODE",
default: null,
})
DIVISION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "SECTION_CODE",
default: null,
})
SECTION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "JOB_CODE",
default: null,
})
JOB_CODE: string;
@Column({
nullable: true,
length: 40,
@ -167,6 +199,18 @@ export class CreateOrgChild2 {
@Column()
orgChild2RankSub?: string;
@Column()
DEPARTMENT_CODE?: string;
@Column()
DIVISION_CODE?: string;
@Column()
SECTION_CODE?: string;
@Column()
JOB_CODE?: string;
@Column()
orgChild2PhoneEx?: string;

View file

@ -119,6 +119,38 @@ export class OrgChild3 extends EntityBase {
})
orgRevisionId: string;
@Column({
nullable: true,
length: 5,
comment: "DEPARTMENT_CODE",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "DIVISION_CODE",
default: null,
})
DIVISION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "SECTION_CODE",
default: null,
})
SECTION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "JOB_CODE",
default: null,
})
JOB_CODE: string;
@Column({
nullable: true,
length: 40,
@ -175,6 +207,18 @@ export class CreateOrgChild3 {
@Column()
orgChild3RankSub?: string;
@Column()
DEPARTMENT_CODE?: string;
@Column()
DIVISION_CODE?: string;
@Column()
SECTION_CODE?: string;
@Column()
JOB_CODE?: string;
@Column()
orgChild3PhoneEx?: string;

View file

@ -124,6 +124,38 @@ export class OrgChild4 extends EntityBase {
})
orgRevisionId: string;
@Column({
nullable: true,
length: 5,
comment: "DEPARTMENT_CODE",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "DIVISION_CODE",
default: null,
})
DIVISION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "SECTION_CODE",
default: null,
})
SECTION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "JOB_CODE",
default: null,
})
JOB_CODE: string;
@Column({
nullable: true,
length: 40,
@ -181,6 +213,18 @@ export class CreateOrgChild4 {
@Column()
orgChild4RankSub?: string;
@Column()
DEPARTMENT_CODE?: string;
@Column()
DIVISION_CODE?: string;
@Column()
SECTION_CODE?: string;
@Column()
JOB_CODE?: string;
@Column()
orgChild4PhoneEx?: string;

View file

@ -131,6 +131,38 @@ export class OrgRoot extends EntityBase {
})
orgRevisionId: string;
@Column({
nullable: true,
length: 5,
comment: "DEPARTMENT_CODE",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "DIVISION_CODE",
default: null,
})
DIVISION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "SECTION_CODE",
default: null,
})
SECTION_CODE: string;
@Column({
nullable: true,
length: 5,
comment: "JOB_CODE",
default: null,
})
JOB_CODE: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgRoots)
@JoinColumn({ name: "orgRevisionId" })
orgRevision: OrgRevision;
@ -170,6 +202,18 @@ export class CreateOrgRoot {
@Column()
orgRootRankSub?: string;
@Column()
DEPARTMENT_CODE?: string;
@Column()
DIVISION_CODE?: string;
@Column()
SECTION_CODE?: string;
@Column()
JOB_CODE?: string;
@Column()
orgRootPhoneEx?: string;