2024-02-15 11:46:25 +07:00
|
|
|
interface DataOption {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 13:42:24 +07:00
|
|
|
interface DataOptionCheckBox {
|
|
|
|
|
label: string;
|
|
|
|
|
value: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-03 17:12:04 +07:00
|
|
|
interface FormFilter {
|
|
|
|
|
page: number;
|
|
|
|
|
pageSize: number;
|
|
|
|
|
keyword: string;
|
|
|
|
|
type: string;
|
|
|
|
|
year:number
|
|
|
|
|
posType: string;
|
|
|
|
|
posLevel: string;
|
|
|
|
|
retireYear: string | null;
|
|
|
|
|
rangeYear: { min: number; max: number };
|
|
|
|
|
isShowRetire: boolean | null;
|
|
|
|
|
isProbation: boolean | null;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-03 11:14:26 +07:00
|
|
|
interface ItemsMenu {
|
|
|
|
|
label: string;
|
|
|
|
|
value: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
color: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface NewPagination {
|
|
|
|
|
descending: boolean;
|
|
|
|
|
page: number;
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
sortBy: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-03 17:13:53 +07:00
|
|
|
export type { DataOption, DataOptionCheckBox, ItemsMenu, NewPagination ,FormFilter};
|