import data uat

This commit is contained in:
mamoss 2025-04-29 15:33:37 +07:00
parent 9f1ed6cc6c
commit 5e4f119730
10 changed files with 2757 additions and 1006 deletions

189
src/entities/EMPLOYEE.ts Normal file
View file

@ -0,0 +1,189 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("EMPLOYEE")
export class EMPLOYEE {
@PrimaryGeneratedColumn()
id!: number;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// RET_YEAR: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ID: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// MP_CATEGORY: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// MP_LEVEL: string;
@Column({
nullable: true,
type: "text",
default: null,
})
BORN: string;
@Column({
nullable: true,
type: "text",
default: null,
})
RANK_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
LNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
BEGIN_ENTRY_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SEX: string;
@Column({
nullable: true,
type: "text",
default: null,
})
WORK_LINE_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SALARY: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DEPARTMENT_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DIVISION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DIVISION_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SECTION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SECTION_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
JOB_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
JOB_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CATEGORY_SAL_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SALARY_LEVEL_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
LEVEL_NAME: string;
}

View file

@ -0,0 +1,27 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_DISCIPLINE")
export class HR_DISCIPLINE {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
REASON_FLAW: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CREATE_DATE: string;
}

View file

@ -0,0 +1,27 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_DISCIPLINE_EMP")
export class HR_DISCIPLINE_EMP {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
REASON_FLAW: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CREATE_DATE: string;
}

View file

@ -52,4 +52,25 @@ export class HR_EDUCATION_EMP {
default: null,
})
EDUCATION_SEQ: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FUND_COURSE_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MAJOR_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_EDUCATION: string;
}

View file

@ -0,0 +1,69 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_INSIGNIA")
export class HR_INSIGNIA {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
DECORATION_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CREATE_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
PERMISSION_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
BOOK: string;
@Column({
nullable: true,
type: "text",
default: null,
})
PART: string;
@Column({
nullable: true,
type: "text",
default: null,
})
PAGE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ISSUE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DECORATIONS_NAME: string;
}

View file

@ -0,0 +1,62 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_INSIGNIA_EMP")
export class HR_INSIGNIA_EMP {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
DECORATION_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CREATE_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
BOOK: string;
@Column({
nullable: true,
type: "text",
default: null,
})
PART: string;
@Column({
nullable: true,
type: "text",
default: null,
})
PAGE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ISSUE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DECORATIONS_NAME: string;
}

View file

@ -0,0 +1,191 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_POSITION_EMPLOYEE")
export class HR_POSITION_EMPLOYEE {
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_PERSON_TYPE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ORDER_MOVE_POSITION: number;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_CODE_SIT: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_CODE_SIT_ABB: string;
@Column({
nullable: true,
default: null,
})
MP_COMMAND_NUM: number;
@Column({
nullable: true,
default: null,
})
CUR_YEAR: number;
@Column({
nullable: true,
default: null,
})
MP_COMMAND_DATE: string;
@Column({
nullable: true,
default: null,
})
MP_POS_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_TO_NAME_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_TO_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
WORK_LINE_NAME: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// MP_CEE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
JOB_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SECTION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DIVISION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DEPARTMENT_NAME: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// ADMIN_NAME: string;
@Column({
nullable: true,
default: null,
})
SALARY: number;
@Column({
nullable: true,
type: "text",
default: null,
})
REMARK: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// SAL_POS_AMOUNT_1: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// SAL_POS_AMOUNT_2: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SPECIAL_AMT: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CATEGORY_SAL_CODE: string;
}

View file

@ -5,6 +5,27 @@ export class HR_POSITION_OFFICER {
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_PERSON_TYPE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ORDER_MOVE_POSITION: number;
@Column({
nullable: true,
type: "text",
@ -18,4 +39,146 @@ export class HR_POSITION_OFFICER {
default: null,
})
POS_NUM_CODE_SIT_ABB: string;
@Column({
nullable: true,
default: null,
})
MP_COMMAND_NUM: number;
@Column({
nullable: true,
default: null,
})
CUR_YEAR: number;
@Column({
nullable: true,
default: null,
})
MP_COMMAND_DATE: string;
@Column({
nullable: true,
default: null,
})
MP_POS_DATE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_TO_NAME_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FLAG_TO_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
POS_NUM_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
WORK_LINE_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MP_CEE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
JOB_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SECTION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DIVISION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DEPARTMENT_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DEPARTMENT_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ADMIN_NAME: string;
@Column({
nullable: true,
default: null,
})
SALARY: number;
@Column({
nullable: true,
type: "text",
default: null,
})
REMARK: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SAL_POS_AMOUNT_1: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SAL_POS_AMOUNT_2: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SPECIAL_AMT: string;
}

View file

@ -5,12 +5,12 @@ export class OFFICER {
@PrimaryGeneratedColumn()
id!: number;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// RET_YEAR: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MP_CEE: string;
@Column({
nullable: true,