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

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

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

export type { RequestItemsObject, Columns, DataProps };
