test import

This commit is contained in:
mamoss 2025-07-21 23:30:38 +07:00
parent d3b8de26d7
commit 81ee387cab
7 changed files with 1539 additions and 0 deletions

View file

@ -0,0 +1,62 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_CHANGENAME_EMPTEMP")
export class HR_CHANGENAME_EMPTEMP {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
NEW_RANK_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
NEW_FNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
NEW_LNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
LAST_RANK_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
LAST_FNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
LAST_LNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
EFFECT_DATE: string;
}

View file

@ -0,0 +1,27 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_DISCIPLINE_EMPTEMP")
export class HR_DISCIPLINE_EMPTEMP {
@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,76 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_EDUCATION_EMPTEMP")
export class HR_EDUCATION_EMPTEMP {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
EDUCATION_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
START_EDUCATION_YEAR: string;
@Column({
nullable: true,
type: "text",
default: null,
})
EDUCATION_YEAR: string;
// @Column({
// nullable: true,
// type: "text",
// default: null,
// })
// EDUCATION_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
INSTITUE: string;
@Column({
nullable: true,
length: 255,
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,83 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_PERSONAL_EMPTEMP_ADDRESS")
export class HR_PERSONAL_EMPTEMP_ADDRESS {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
PROVINCE_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
AMPHUR_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
DISTRICT_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CONTACT_PROVINCE_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CONTACT_AMPHUR_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CONTACT_DISTRICT_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
H_NUMBER: string;
@Column({
nullable: true,
type: "text",
default: null,
})
ZIPCODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CONTACT_H_NUMBER: string;
@Column({
nullable: true,
type: "text",
default: null,
})
CONTACT_ZIPCODE: string;
}

View file

@ -0,0 +1,90 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_PERSONAL_EMPTEMP_FAMILY")
export class HR_PERSONAL_EMPTEMP_FAMILY {
@Column({
nullable: true,
type: "text",
default: null,
})
CIT: string;
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
FATHER_RANK_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FATHER_FNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
FATHER_LNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MOTHER_RANK_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MOTHER_FNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MOTHER_LNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SPOUSE_RANK_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SPOUSE_FNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SPOUSE_LNAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
SPOUSE_ID: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MARRIAGE_STATE: string;
}

View file

@ -0,0 +1,205 @@
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_POSITION_EMPLOYEETEMP")
export class HR_POSITION_EMPLOYEETEMP {
@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,
})
LEVEL_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
WORK_LINE_NAME_F: 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;
}