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

//ข้อมูล
interface RequestItemsObject {
  id: string;
  point1Total: number;
  point1: number;
  point2Total: number;
  point2: number;
  pointSumTotal: number;
  pointSum: number;
  name: string;
  date: 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 };
