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 | null;
  startDate: number|null;
  endDate: number|null;
  startDate2: Date|null;
  endDate2: Date|null;
  createdFullName: string;
  createdAt: Date;
  note: string;
}

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

export type { RequestItemsObject, Columns, DataProps };
