hrms-mgt/src/modules/09_leave/interface/response/changeRound.ts
2024-09-18 17:26:53 +07:00

50 lines
1 KiB
TypeScript

interface changeShow {
cardId: string;
prefix: string;
firstName: string;
lastName: string;
fullName: string;
roundStart: string;
roundEnd: string;
currentRound: string;
effectiveDate: string | null;
}
interface dataRowChangeRound {
cardId: string;
prefix: string;
firstName: string;
lastName: string;
roundStart: string;
roundEnd: string;
effectiveDate: Date;
}
interface dataRowChangeRoundHistory {
id: string;
roundStart: string;
roundEnd: string;
effectiveDate: Date;
reson: string | null;
}
interface historyShow {
round: number;
startTimeMorning: string;
leaveTimeAfternoon: string;
time: string;
effectiveDate: string;
reson: string;
}
interface DataInterface {
round: number;
startTimeMorning: string;
leaveTimeAfternoon: string;
effectiveDate: Date; // ใช้ Date แทน string หากต้องการแปลงเป็น Date object
remark: string;
}
export type {
changeShow,
dataRowChangeRound,
dataRowChangeRoundHistory,
historyShow,
DataInterface
};