//ข้อมูล
interface ResponseObject {
  id: string;
  positionType: string;
  positionLine: string;
  positionPath: string;
  positionPathSide: string;
  positionExecutive: string;
  positionExecutiveSide: string;
  positionLevel: any;
  positionTypeId: string;
  positionLineId: string;
  positionPathId: string;
  positionPathSideId: string;
  positionExecutiveId: string;
  positionExecutiveSideId: string;
  positionStatus: string;
  titleStatus: string;
  positionLevelId: any;
  owner: boolean;
  isActive: boolean;
}

interface ResponseTree {
  no: number;
  profilePositionId: string | null;
  organizationPositionId: string | null;
  name: string | null;
  edu: string | null;
  posiNumOld: string | null;
  posiNumNew: string | null;
  posiOld: string | null;
  posiNew: string | null;
  levelOld: any;
  levelNew: any;
  change: string | null;
  statusPosition: string | null;
  report2Id: string | null;
}

interface ResponseDetail {
  report2Id: string;
  name: string;
  edu: string;
  salary: number;
  salary2: number;
  salary3: number;
  goverment: string;
  agency: string;
  posiNum: string;
  category: string;
  posiManage: string;
  sideManage: string;
  posiWork: string;
  sideWork: string;
  level: string;
  goverment2: string;
  agency2: string;
  posiNum2: string;
  category2: string;
  posiManage2: string;
  sideManage2: string;
  posiWork2: string;
  sideWork2: string;
  level2: string;
}

interface ResponseHistoryHead {
  historyId: string;
  date: Date;
}
interface ResponseHistory {
  fullName: string;
  education: string;
  salary: number;
  salaryPosition: number;
  salaryMonth: number;
  oldOrganizationShortName: string;
  oldOrganizationOrganization: string;
  oldPositionNum: string;
  oldPositionType: string;
  oldPositionExecutive: string;
  oldPositionExecutiveSide: string;
  oldPositionPath: string;
  oldPositionPathSide: string;
  oldPositionLevel: string;
  newOrganizationShortName: string;
  newOrganizationOrganization: string;
  newPositionNum: string;
  newPositionType: string;
  newPositionExecutive: string;
  newPositionExecutiveSide: string;
  newPositionPath: string;
  newPositionPathSide: string;
  newPositionLevel: string;
}

export type {
  ResponseObject,
  ResponseTree,
  ResponseDetail,
  ResponseHistory,
  ResponseHistoryHead,
};
