interface DataOption {
  id: string;
  name: string;
}
interface OptionCheckbox {
  label: string;
  value: string;
}
interface ItemsTab {
  label: string;
  name: string;
}

interface DataOptionTechnique {
  label: string;
  value: string;
}

interface ItemsMenu {
  label: string;
  value: string;
  icon: string;
  color: string;
}

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

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

interface ResponsePreson {
  id: string; //id อ้างอิง profile
  idcard: string; //เลขประจำตัวประชาชน
  prefix: string; //คำนำหน้า
  firstName: string; //ชื่อ
  lastName: string; //นามสกุล
  posNo: string; //ตำแหน่งเลขที่
  position: string; //ตำแหน่ง
  positionLevel: string; //ระดับ
  salaries: number; //เงินเดือน
  organization: string; //สังกัด
  email: string; //อีเมล
  phone: string; //เบอร์โทรศัพท์
}

interface tableType {
  personId: string;
  idcard: string;
  prefix: string;
  firstName: string;
  lastName: string;
  position: string;
  positionLevel: string;
  organization: string;
  salary: string;
  name: string;
}

interface FormData {
  personalId: string;
  prefix: string;
  firstname: string;
  lastname: string;
  position: string;
  phone: string;
  email: string;
  qualification: string;
}
interface DataAchievement {
  achievement: string;
  detail: string;
}

interface ProjectYearOp {
  id: string;
  year: number;
  projectName: string;
}
export type {
  DataOption,
  ItemsMenu,
  NewPagination,
  typeOp,
  ResponsePreson,
  tableType,
  FormData,
  ItemsTab,
  OptionCheckbox,
  DataAchievement,
  ProjectYearOp,
  DataOptionTechnique,
};
