2024-02-15 11:46:25 +07:00
|
|
|
interface DataOption {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
2024-07-15 11:10:55 +07:00
|
|
|
type?: string;
|
2025-06-05 10:48:21 +07:00
|
|
|
typeName?: string;
|
2025-06-26 11:41:01 +07:00
|
|
|
keyId?: string;
|
2024-02-15 11:46:25 +07:00
|
|
|
}
|
|
|
|
|
|
2024-02-28 07:58:34 +07:00
|
|
|
interface DataOptionShort {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
2024-03-25 18:01:33 +07:00
|
|
|
shortCode: string;
|
2024-02-28 07:58:34 +07:00
|
|
|
}
|
|
|
|
|
|
2024-02-15 18:01:15 +07:00
|
|
|
interface NewPagination {
|
|
|
|
|
descending: boolean;
|
|
|
|
|
page: number;
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
sortBy: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ItemsMenu {
|
|
|
|
|
label: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
color: string;
|
|
|
|
|
type: string;
|
|
|
|
|
}
|
2024-02-16 11:12:16 +07:00
|
|
|
|
2024-04-30 16:21:27 +07:00
|
|
|
interface ItemsCards {
|
|
|
|
|
label: string;
|
|
|
|
|
name: string;
|
|
|
|
|
color: string;
|
|
|
|
|
total: number;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-25 18:01:33 +07:00
|
|
|
interface FormData {
|
|
|
|
|
name: string;
|
|
|
|
|
posTypeId: string;
|
|
|
|
|
posLevelId: string;
|
|
|
|
|
isActive: boolean;
|
|
|
|
|
date: Date | null;
|
|
|
|
|
startDate: Date | null;
|
|
|
|
|
endDate: Date | null;
|
|
|
|
|
details: string;
|
|
|
|
|
isSpecial: boolean;
|
2024-03-01 10:30:04 +07:00
|
|
|
}
|
2024-04-30 11:53:57 +07:00
|
|
|
|
|
|
|
|
interface FormSalaryRate {
|
|
|
|
|
salaryId: string;
|
|
|
|
|
salary: null | number | string;
|
|
|
|
|
salaryHalf: null | number | string;
|
|
|
|
|
salaryHalfSpecial: null | number | string;
|
|
|
|
|
salaryFull: null | number | string;
|
|
|
|
|
salaryFullSpecial: null | number | string;
|
|
|
|
|
salaryFullHalf: null | number | string;
|
|
|
|
|
salaryFullHalfSpecial: null | number | string;
|
|
|
|
|
isNext: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-30 16:21:27 +07:00
|
|
|
export type {
|
|
|
|
|
DataOption,
|
|
|
|
|
NewPagination,
|
|
|
|
|
ItemsMenu,
|
|
|
|
|
DataOptionShort,
|
|
|
|
|
FormData,
|
|
|
|
|
FormSalaryRate,
|
|
|
|
|
ItemsCards,
|
|
|
|
|
};
|