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,
  })
  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;
}
