hrms-mgt/src/modules/15_development/interface/index/Main.ts
2024-04-05 16:31:36 +07:00

73 lines
1.1 KiB
TypeScript

interface DataOption {
id: string;
name: string;
}
interface DataOptionCheckBox {
label: string;
value: boolean;
}
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;
}
interface ItemsMenu {
label: string;
value: string;
icon: string;
color: string;
}
interface NewPagination {
descending: boolean;
page: number;
rowsPerPage: number;
sortBy: string;
}
interface DataPerson {
id: string;
name: string;
prefix: string;
rank: string;
firstName: string;
lastName: string;
citizenId: string;
level: string;
type: string;
posLevelId: string;
posTypeId: string;
position: string;
positionSide: string;
posNo: string;
oc: string;
[key: string]: any;
}
interface ItemsDownload {
label: string;
value: string;
icon: string;
color: string;
}
export type {
DataOption,
DataOptionCheckBox,
ItemsMenu,
NewPagination,
FormFilter,
DataPerson,
ItemsDownload
};