2023-11-03 15:29:11 +07:00
|
|
|
interface ListData {
|
|
|
|
|
id: string;
|
|
|
|
|
fullname: string | null;
|
|
|
|
|
date: string | null;
|
|
|
|
|
dateFix: string | null;
|
|
|
|
|
startTimeMorning: string | null;
|
|
|
|
|
endTimeMorning: string | null;
|
|
|
|
|
startTimeAfternoon: string | null;
|
|
|
|
|
endTimeAfternoon: string | null;
|
|
|
|
|
status: string;
|
2023-11-06 17:49:30 +07:00
|
|
|
checkInStatus: string;
|
|
|
|
|
checkOutStatus: string;
|
2023-11-07 12:03:20 +07:00
|
|
|
checkOut: string;
|
|
|
|
|
checkIn: string;
|
2023-11-03 15:29:11 +07:00
|
|
|
}
|
2023-11-30 17:11:03 +07:00
|
|
|
|
|
|
|
|
interface DataDateMonthObject {
|
|
|
|
|
month: number;
|
|
|
|
|
year: number;
|
|
|
|
|
}
|
2024-09-18 17:26:53 +07:00
|
|
|
|
|
|
|
|
interface DetailData {
|
|
|
|
|
id: string;
|
|
|
|
|
fullName: string;
|
|
|
|
|
createdAt: string;
|
|
|
|
|
checkDate: string;
|
|
|
|
|
checkInEdit: boolean;
|
|
|
|
|
checkOutEdit: boolean;
|
|
|
|
|
checkInTime: string;
|
|
|
|
|
checkOutTime: string;
|
|
|
|
|
checkInStatus: string;
|
|
|
|
|
checkOutStatus: string;
|
|
|
|
|
startTimeMorning: string;
|
|
|
|
|
endTimeMorning: string;
|
|
|
|
|
startTimeAfternoon: string;
|
|
|
|
|
endTimeAfternoon: string;
|
|
|
|
|
reason: string;
|
|
|
|
|
status: string;
|
|
|
|
|
description: string;
|
|
|
|
|
statusSort: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Pagination {
|
|
|
|
|
sortBy: string | null;
|
|
|
|
|
descending: boolean;
|
|
|
|
|
page: number;
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
}
|
|
|
|
|
export type { ListData, DataDateMonthObject,DetailData,Pagination };
|