2023-11-02 17:32:57 +07:00
|
|
|
interface changeShow {
|
2024-09-03 11:28:01 +07:00
|
|
|
cardId: string;
|
|
|
|
|
prefix: string;
|
|
|
|
|
firstName: string;
|
|
|
|
|
lastName: string;
|
|
|
|
|
fullName: string;
|
|
|
|
|
roundStart: string;
|
|
|
|
|
roundEnd: string;
|
|
|
|
|
currentRound: string;
|
|
|
|
|
effectiveDate: string | null;
|
2023-11-02 17:32:57 +07:00
|
|
|
}
|
|
|
|
|
interface dataRowChangeRound {
|
2024-09-03 11:28:01 +07:00
|
|
|
cardId: string;
|
|
|
|
|
prefix: string;
|
|
|
|
|
firstName: string;
|
|
|
|
|
lastName: string;
|
|
|
|
|
roundStart: string;
|
|
|
|
|
roundEnd: string;
|
|
|
|
|
effectiveDate: Date;
|
2023-11-02 17:32:57 +07:00
|
|
|
}
|
|
|
|
|
interface dataRowChangeRoundHistory {
|
2024-09-03 11:28:01 +07:00
|
|
|
id: string;
|
|
|
|
|
roundStart: string;
|
|
|
|
|
roundEnd: string;
|
|
|
|
|
effectiveDate: Date;
|
|
|
|
|
reson: string | null;
|
2023-11-02 17:32:57 +07:00
|
|
|
}
|
|
|
|
|
interface historyShow {
|
2024-09-18 17:26:53 +07:00
|
|
|
round: number;
|
|
|
|
|
startTimeMorning: string;
|
|
|
|
|
leaveTimeAfternoon: string;
|
2024-09-03 11:28:01 +07:00
|
|
|
time: string;
|
2024-09-18 17:26:53 +07:00
|
|
|
effectiveDate: string;
|
|
|
|
|
reson: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DataInterface {
|
|
|
|
|
round: number;
|
|
|
|
|
startTimeMorning: string;
|
|
|
|
|
leaveTimeAfternoon: string;
|
|
|
|
|
effectiveDate: Date; // ใช้ Date แทน string หากต้องการแปลงเป็น Date object
|
|
|
|
|
remark: string;
|
2023-11-02 17:32:57 +07:00
|
|
|
}
|
|
|
|
|
export type {
|
2024-09-03 11:28:01 +07:00
|
|
|
changeShow,
|
|
|
|
|
dataRowChangeRound,
|
|
|
|
|
dataRowChangeRoundHistory,
|
|
|
|
|
historyShow,
|
2024-09-18 17:26:53 +07:00
|
|
|
DataInterface
|
2024-09-03 11:28:01 +07:00
|
|
|
};
|