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

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