import { Column, Entity } from "typeorm";
import { EntityBase } from "../base/Base";

@Entity("ProfileChildrens")
export class ProfileChildrens extends EntityBase {
  @Column({
    nullable: true,
    default: null,
    comment: "อาชีพบุตร",
  })
  childrenCareer: string;

  @Column({
    nullable: true,
    default: null,
    comment: "ชื่อบุตร",
  })
  childrenFirstName: string;

  @Column({
    nullable: true,
    default: null,
    comment: "นามสกุลบุตร",
  })
  childrenLastName: string;

  @Column({
    nullable: true,
    default: null,
    comment: "คำนำหน้าบุตร",
  })
  childrenPrefix: string;

  @Column({
    nullable: true,
    default: null,
    type: "boolean",
    comment: "มีชีวิตบุตร",
  })
  childrenLive: boolean;

  @Column({
    nullable: true,
    default: null,
    comment: "เลขที่บัตรประชาชนบุตร",
  })
  childrenCitizenId: string;
}
