//ข้อมูล
interface ResponseObject {
  couple: Boolean | null;
  couplePrefixId: string | null;
  coupleFirstName: string | null;
  coupleLastName: string | null;
  coupleLastNameOld: string | null;
  coupleCareer: string | null;
  coupleLive: Boolean | null;
  coupleCitizenId: string | null;
  fatherPrefixId: string | null;
  fatherFirstName: string | null;
  fatherLastName: string | null;
  fatherCareer: string | null;
  fatherLive: Boolean | null;
  fatherCitizenId: string | null;
  motherPrefixId: string | null;
  motherFirstName: string | null;
  motherLastName: string | null;
  motherCareer: string | null;
  motherLive: Boolean | null;
  motherCitizenId: string | null;
  createdFullName: string | null;
  createdAt: Date;
  childrens: childrenFamily[];
}

interface ResponseHistory {
  couple: string | null;
  couplePrefixId: string | null;
  coupleFirstName: string | null;
  coupleLastName: string | null;
  coupleLastNameOld: string | null;
  coupleCareer: string | null;
  coupleLive: string | null;
  coupleCitizenId: string | null;
  fatherPrefixId: string | null;
  fatherFirstName: string | null;
  fatherLastName: string | null;
  fatherCareer: string | null;
  fatherLive: string | null;
  fatherCitizenId: string | null;
  motherPrefixId: string | null;
  motherFirstName: string | null;
  motherLastName: string | null;
  motherCareer: string | null;
  motherLive: string | null;
  motherCitizenId: string | null;
  createdFullName: string | null;
  createdAt: Date;
  childrens: childrenFamily[];
}

interface childrenFamily {
  id: string;
  childrenPrefixId: string | null;
  childrenFirstName: string | null;
  childrenLastName: string | null;
  childrenCareer: string | null;
  childrenLive: string | null;
  childrenCitizenId: string | null;
}

export type { ResponseObject, childrenFamily, ResponseHistory };
