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;