//ข้อมูลประวัติแก้ไข
interface RequestItemsPublishHistoryObject {
  id: string;
  items: RequestItemsHistoryObject[];
  publishedDate: string;
}

//ข้อมูล
interface RequestItemsHistoryObject {
  createdAt?: Date;
  createdFullName: String;
  createdUserId: String;
  id: String;
  isActive: Boolean;
  lastUpdateFullName: String;
  lastUpdateUserId: String;
  lastUpdatedAt?: Date;
  name: string;
  zipCode: String;
}

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

export type {
  RequestItemsHistoryObject,
  RequestItemsPublishHistoryObject,
  Columns,
};
