//ข้อมูล
interface RequestItemsObject {
  id: number;
  fullname: String;
  fullnameOld: String;
  avatar: String;
  citizenId: String;
  oc: String;
  position: String;
  positionPathSide: String;
  numberPosition: String | null;
  positionLine: String;
  positionType: String;
  govAge: number;
  positionLevel: String;
  positionExecutive: String | null;
  positionExecutiveSide: String | null;
  refSalary: String;
  positionEmployeePosition: String | null;
  positionEmployeePositionSide: String | null;
  positionEmployeeLevel: String | null;
  positionEmployeeGroup: String | null;
  dateAppoint: Date | string | null;
  dateStart: Date | string | null;
  createdAt: Date | string | null;
  salaryDate: Date | string | null;
  leaveReason: String;
  age: String;
  amount: String;
  insignia: String;
  insigniaLast: String;
  isLeave: String;
  leaveDateOrder: Date | 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 };
