hrms-checkin/src/interface/response/checkin.ts

50 lines
1 KiB
TypeScript

interface OptionReason {
value: string
text: string
}
interface FormRef {
model: object | null
useLocation: object | null
[key: string]: any
}
interface FormData {
checkInId: string
checkInDate: Date | null
checkOutDate: Date | null
checkInDateTime: Date
checkInTime: string
checkOutTime: string
checkInStatus: string
checkOutStatus: string
checkInLocation: string
checkOutLocation: string
editStatus: string
editReason: string
isEdit: boolean
}
interface Datalist {
checkInId: string
checkInDate: string | null
checkInDateTime: Date | null
checkInTime: string
checkOutTime: string
checkInStatus: string
checkOutStatus: string
checkInLocation: string
checkOutLocation: string
editStatus: string
editReason: string
isEdit: boolean
}
interface FormTimeStemp {
checkDate: Date | null | string
checkInEdit: boolean
checkOutEdit: boolean
description: string
latitude: string
longitude: string
POI: string
}
export type { OptionReason, FormRef, FormData, Datalist, FormTimeStemp }