interface FormData {
  id: string;
  idComplaint: string;
  investigationDetail: string;
  complaint: string;
  complaintdetail: string;
  investigationDescription: string;
  fault: string;
  investigationDetailOther: string;
  evidenceFiles: any | null;
  fileComplaint: File | null;
  investigationExtendStatus: boolean | null;
  investigationDateStart: Date | null|string;
  investigationDateEnd: Date | null|string;
  investigationDaysExtend: number | null;
  investigationStatusResult: string;
  investigationCauseText: string;
  complaintStatus: string;
  result: string;
  directors: object | null;
  status: string;
  disciplineInvestigateDocs: any;
  disciplineInvestigateRelevantDocs: any;
  documentFile: any | null;
  respondentType: string;
  organizationId: string;
  persons: object | null;
  investigationExtendHistory: ExtendHistoryObject[];
  isDisciplinary:boolean
  isAncestorDNA:boolean
}

interface ExtendHistoryObject {
  name: string;
  num: number;
  daysExtend: number | null;
  dateStart: Date;
  dateEnd: Date;
}

interface ArrayPerson {
  id: string;
  name: string;
  position: string;
  email: string;
  phone: string;
}
interface MyObjectInvestigateRef {
  // complaint: object | null;
  // complaintdetail: object | null;
  // investigationDescription: object | null;
  // fault: object | null;
  // fileComplaint: object | null;
  // date: object | null;
  // dateEnd: object | null;
  // investigationDetail: object | null;
  // daysExtend: object | null;
  // investigationStatusResult: object | null;
  // investigationCauseText: object | null;
  // result: object | null;
  [key: string]: any;
}

export type { FormData, MyObjectInvestigateRef };
