hrms-mgt/src/modules/09_leave/interface/response/changeRound.ts

51 lines
1 KiB
TypeScript
Raw Normal View History

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;
}
interface dataRowChangeRound {
2024-09-03 11:28:01 +07:00
cardId: string;
prefix: string;
firstName: string;
lastName: string;
roundStart: string;
roundEnd: string;
effectiveDate: Date;
}
interface dataRowChangeRoundHistory {
2024-09-03 11:28:01 +07:00
id: string;
roundStart: string;
roundEnd: string;
effectiveDate: Date;
reson: string | null;
}
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;
}
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
};