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

//ข้อมูล
interface RequestItemsObject {
  id: string;
  issuer: string;
  detail: string;
  issueDate: number | null;
  issueDate2: Date;
  refCommandNo: string;
  refCommandDate: Date | null | string;
  createdFullName: string;
  createdAt: Date;
  isDate: string;
}

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

export type { RequestItemsObject, Columns };
