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

//ข้อมูล
interface RequestItemsObject {
  id: string;
  insigniaType: string;
  insignia: string;
  insigniaId: string;
  year: number;
  no: string;
  issue: string;
  volumeNo: string;
  volume: string;
  section: string;
  page: string;
  receiveDate: Date;
  dateAnnounce: Date | string | null;
  refCommandNo: string;
  refCommandDate: Date | null | string;
  createdFullName: string;
  createdAt: Date;
  note: string | null;
}

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

export type { RequestItemsObject, Columns, DataProps };
