2023-11-14 17:47:43 +07:00
|
|
|
interface FormRef {
|
|
|
|
|
model: object | null
|
|
|
|
|
useLocation: object | null
|
|
|
|
|
[key: string]: any
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-22 13:02:02 +07:00
|
|
|
interface FormData {
|
2023-11-24 16:39:55 +07:00
|
|
|
checkInId: string
|
|
|
|
|
checkInDate: Date | null
|
|
|
|
|
checkInDateTime: Date
|
|
|
|
|
checkInTime: string
|
|
|
|
|
checkOutTime: string
|
|
|
|
|
checkInStatus: string
|
|
|
|
|
checkOutStatus: string
|
|
|
|
|
checkInLocation: string
|
|
|
|
|
checkOutLocation: string
|
2023-11-27 14:39:45 +07:00
|
|
|
editStatus: string
|
|
|
|
|
editReason: string
|
2023-11-29 15:28:11 +07:00
|
|
|
isEdit: boolean
|
2023-11-24 16:39:55 +07:00
|
|
|
}
|
|
|
|
|
interface Datalist {
|
2023-11-22 13:02:02 +07:00
|
|
|
checkInId: string
|
|
|
|
|
checkInDate: string | null
|
2023-11-24 16:39:55 +07:00
|
|
|
checkInDateTime: Date | null
|
2023-11-22 13:02:02 +07:00
|
|
|
checkInTime: string
|
|
|
|
|
checkOutTime: string
|
|
|
|
|
checkInStatus: string
|
|
|
|
|
checkOutStatus: string
|
|
|
|
|
checkInLocation: string
|
2023-11-24 16:39:55 +07:00
|
|
|
checkOutLocation: string
|
2023-11-27 14:39:45 +07:00
|
|
|
editStatus: string
|
|
|
|
|
editReason: string
|
2023-11-29 15:28:11 +07:00
|
|
|
isEdit: boolean
|
2023-11-24 16:39:55 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface FormTimeStemp {
|
|
|
|
|
checkDate: Date | null
|
|
|
|
|
checkInEdit: boolean
|
|
|
|
|
checkOutEdit: boolean
|
|
|
|
|
description: string
|
2023-11-22 13:02:02 +07:00
|
|
|
}
|
2023-11-24 16:39:55 +07:00
|
|
|
export type { FormRef, FormData, Datalist, FormTimeStemp }
|