interface DataOption {
  id: string;
  name: string;
}

interface DataOptionShort {
  id: string;
  name: string;
  shortCode: string;
}

interface NewPagination {
  descending: boolean;
  page: number;
  rowsPerPage: number;
  sortBy: string;
}

interface ItemsMenu {
  label: string;
  icon: string;
  color: string;
  type: string;
}
interface ObjectSalaryRef {
  salaryType: object | null;
  // name: object | null;
  posTypId: object | null;
  posLevelId: object | null;
  date: object | null;
  startDate: object | null;
  endDate: object | null;

  [key: string]: any;
}

interface ObjectSalaryRateRef {
  salary: object | null;
  salaryHalf: object | null;
  salaryHalfSpecial: object | null;
  salaryFull: object | null;
  salaryFullSpecial: object | null;
  salaryFullHalf: object | null;
  salaryFullHalfSpecial: object | null;

  [key: string]: any;
}

interface FormData {
  name: string;
  posTypeId: string;
  posLevelId: string;
  isActive: boolean;
  date: Date | null;
  startDate: Date | null;
  endDate: Date | null;
  details: string;
  isSpecial: boolean;
}
export type {
  DataOption,
  NewPagination,
  ItemsMenu,
  ObjectSalaryRef,
  ObjectSalaryRateRef,
  DataOptionShort,
  FormData,
};
