50 lines
1 KiB
TypeScript
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
|
|
};
|