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

43 lines
889 B
TypeScript
Raw Normal View History

2023-11-14 17:47:43 +07:00
interface FormRef {
model: object | null
useLocation: object | null
[key: string]: any
}
interface FormData {
checkInId: string
checkInDate: 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
checkInEdit: boolean
checkOutEdit: boolean
description: string
}
export type { FormRef, FormData, Datalist, FormTimeStemp }