2024-10-18 11:45:16 +07:00
|
|
|
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
|
2024-07-26 14:44:33 +07:00
|
|
|
|
2025-02-21 19:10:27 +07:00
|
|
|
@Entity("positionOfficer")
|
|
|
|
|
export class positionOfficer {
|
|
|
|
|
@PrimaryGeneratedColumn()
|
|
|
|
|
id!: number;
|
|
|
|
|
|
2024-07-26 14:44:33 +07:00
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
citizenId: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
2024-09-16 15:15:59 +07:00
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
flag_person_type: string;
|
2024-09-16 15:15:59 +07:00
|
|
|
|
2024-07-26 14:44:33 +07:00
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
order_move_position: number;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
pos_num_code_sit: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
pos_num_code_sit_abb: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
mp_command_num: number;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
cur_year: number;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
mp_command_date: Date;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
mp_pos_date: Date;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
flag_to_name_code: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
flag_to_name: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
pos_num_name: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
pos_num_code: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
work_line_name: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
mp_cee: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
job_name: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
section_name: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
division_name: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
department_code: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
2025-02-21 11:49:04 +07:00
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
department_name: string;
|
2025-02-21 11:49:04 +07:00
|
|
|
|
2025-01-08 14:15:28 +07:00
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
admin_name: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
salary: number;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
remark: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
sal_pos_amount_1: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
sal_pos_amount_2: string;
|
2025-01-08 14:15:28 +07:00
|
|
|
|
|
|
|
|
@Column({
|
|
|
|
|
nullable: true,
|
|
|
|
|
type: "text",
|
|
|
|
|
default: null,
|
|
|
|
|
})
|
2025-02-21 19:10:27 +07:00
|
|
|
special_amt: string;
|
2024-07-26 14:44:33 +07:00
|
|
|
}
|