2025-01-31 17:35:56 +07:00
|
|
|
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
|
|
|
|
|
|
|
|
|
|
@Entity("IMPORT_ORG")
|
|
|
|
|
export class IMPORT_ORG {
|
|
|
|
|
@PrimaryGeneratedColumn()
|
|
|
|
|
id!: number;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
DEPARTMENT_CODE: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
DIVISION_CODE: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
SECTION_CODE: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
JOB_CODE: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgRoot: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgChild1: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgChild2: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgChild3: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
MISCODE: string;
|
2025-02-10 16:16:20 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgShortname: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgRank: string;
|
|
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
|
|
|
|
orgSubRank: string;
|
2025-01-31 17:35:56 +07:00
|
|
|
}
|