import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";

@Entity("HR_CHANGENAME")
export class HR_CHANGENAME {
  @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;
}
