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

@ -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;