interface DataProps {
  row: RequestItemsObject;
  rowIndex: number;
}

//ข้อมูล
interface RequestItemsObject {
  id: string;
  educationLevel: string;
  educationLevelId: string;
  level: string;
  levelId: string;
  positionPath: string;
  positionPathId: string;
  institute: string;
  degree: string;
  field: string;
  gpa: string;
  country: string;
  duration: string;
  durationYear: number;
  other: string;
  fundName: string;
  finishDate: Date;
  startDate: number;
  endDate: number;
  createdFullName: string;
  createdAt: Date;
  isDate: string;
  isEducation: boolean;
}

//columns
interface Columns {
  [index: number]: {
    name: String;
    align: String;
    label: String;
    sortable: Boolean;
    field: String;
    headerStyle: String;
    style: String;
  };
}

export type { RequestItemsObject, Columns, DataProps };
