interface listData {
  id: string;
  profileId?: string;
  citizenId: string;
  prefix: string;
  firstName: string;
  lastName: string;
  organization: string;
  position: string;
  posNo: string;
  positionLevel: string;
  positionType: string;
  salary: number;
  status: string;
  descriptionSuspend: string;
  startDateSuspend: Date;
  endDateSuspend: Date;
  title: string;
  offenseDetails: string;
  disciplinaryFaultLevel: string;
  disciplinaryCaseFault: string;
}

interface dataType {
  id: string;
  citizenId: string;
  name: string;
  prefix: string;
  firstName: string;
  lastName: string;
  organization: string;
  position: string;
  posNo: string;
  positionLevel: string;
  positionType: string;
  salary: number;
  status: string;
  statusEn: string;
  descriptionSuspend: string;
  dateTotal: string;
  startDateSuspend: Date;
  endDateSuspend: Date;
  title: string;
  offenseDetails: string;
  disciplinaryFaultLevel: string;
  disciplinaryCaseFault: string;
}

interface DataDetail {
  id: string;
  personId: string;
  citizenId: string;
  avatar: string;
  name: string;
  prefix: string;
  firstName: string;
  lastName: string;
  organization: string;
  position: string;
  posNo: string;
  positionLevel: string;
  salary: number;
  status: string;
  descriptionSuspend: string;
  startDateSuspend: Date | null;
  endDateSuspend: Date | null;
  title: string;
  offenseDetails: string;
  disciplinaryFaultLevel: string;
  disciplinaryCaseFault: string;
  posTypeName: string;
  child1: string;
  child1Id: string | null;
  child1ShortName: string;
  child2: string;
  child2Id: string | null;
  child2ShortName: string;
  child3: string;
  child3Id: string | null;
  child3ShortName: string;
  child4: string;
  child4Id: string | null;
  child4ShortName: string;
  root: string;
  rootId: string | null;
  rootShortName: string;
  positionType?: string;
}

interface DataOption {
  id: string;
  name: string;
}
export type { listData, dataType, DataDetail, DataOption };
