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

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