interface FormData {
  complaint: string;
  complaintdetail: string;
  detail: string;
  fault: string;
  other: string;
  evidenceFiles: File | null;
  fileComplaint: File | null;
  extendStatus: boolean;
  date: Date | null;
  dateEnd: Date;
  daysExtend: number | null;
  investigation: string;
  statusResult: string;
  causeText: string;
  complaintStatus:string
  reason: string
}
interface MyObjectInvestigateRef {
  complaint: object | null;
  complaintdetail: object | null;
  detail: object | null;
  fault: object | null;
  evidenceFiles: object | null;
  fileComplaint: object | null;
  date: object | null;
  dateEnd: object | null;
  investigation: object | null;
  daysExtend: object | null;
  statusResult: object | null;
  causeText: object | null;
  reason: object | null;
  [key: string]: any;
}

interface FormDataList {
  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;
  investigationDateEnd: Date | null;
  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;
  disciplinaryExtendHistory: ExtendHistoryObject[];
}

interface ExtendHistoryObject {
  name: string;
  num: number;
  daysExtend: number | null;
  dateStart: Date;
  dateEnd: Date;
}
export type { FormData, MyObjectInvestigateRef,FormDataList };
