ผูก API รายลงเวลาปฏิบัติงานของ Admin (รายการลงเวลา)
This commit is contained in:
parent
c76af202de
commit
e693e024e6
9 changed files with 557 additions and 295 deletions
|
|
@ -1,31 +1,41 @@
|
|||
interface TableRows {
|
||||
fullName: string
|
||||
timeIn: string
|
||||
coordinatesIn: string
|
||||
latIn: string
|
||||
longIn: string
|
||||
timeOut: string
|
||||
coordinatesOut: string
|
||||
latOut: string
|
||||
longOut: string
|
||||
status: string | undefined
|
||||
date: string | null
|
||||
|
||||
id: string; //id รายการลงเวลาปฏิบัติงาน
|
||||
fullName: String; //ชื่อ-นามสกุล
|
||||
checkDate: string | null; //วันที่เข้างาน
|
||||
checkInTime: string; //เวลาเข้างาน
|
||||
checkInLocation: String; //พิกัดเข้างาน
|
||||
checkInLat: String; //อัลติจูดเข้างาน
|
||||
checkInLon: String; //ละติจูดเข้างาน
|
||||
checkOutLocation: String; //พิกัดออกงาน
|
||||
checkOutTime: string; //เวลาออกงาน
|
||||
checkOutLat: String; //อัลติจูดออกงาน
|
||||
checkOutLon: String; //ละติจูดออกงาน
|
||||
}
|
||||
interface DataRes {
|
||||
fullName: string
|
||||
timeIn: string
|
||||
coordinatesIn: string
|
||||
latIn: string
|
||||
longIn: string
|
||||
timeOut: string
|
||||
coordinatesOut: string
|
||||
latOut: string
|
||||
longOut: string
|
||||
status: string
|
||||
date: Date
|
||||
interface DataResTime {
|
||||
id: string; //id รายการลงเวลาปฏิบัติงาน
|
||||
fullName: String; //ชื่อ-นามสกุล
|
||||
checkDate: Date | null; //วันที่เข้างาน
|
||||
checkInTime: string; //เวลาเข้างาน
|
||||
checkInLocation: String; //พิกัดเข้างาน
|
||||
checkInLat: String; //อัลติจูดเข้างาน
|
||||
checkInLon: String; //ละติจูดเข้างาน
|
||||
checkOutLocation: String; //พิกัดออกงาน
|
||||
checkOutTime: string; //เวลาออกงาน
|
||||
checkOutLat: String; //อัลติจูดออกงาน
|
||||
checkOutLon: String; //ละติจูดออกงาน
|
||||
checkStatus: string;
|
||||
}
|
||||
export type {
|
||||
TableRows,
|
||||
DataRes
|
||||
}
|
||||
interface DataResLog {
|
||||
id: string; //id รายการลงเวลาปฏิบัติงาน
|
||||
fullName: String; //ชื่อ-นามสกุล
|
||||
checkDate: Date | null; //วันที่เข้างาน
|
||||
checkInTime: string; //เวลาเข้างาน
|
||||
checkInLocation: String; //พิกัดเข้างาน
|
||||
checkInLat: String; //อัลติจูดเข้างาน
|
||||
checkInLon: String; //ละติจูดเข้างาน
|
||||
checkOutLocation: String; //พิกัดออกงาน
|
||||
checkOutTime: string; //เวลาออกงาน
|
||||
checkOutLat: String; //อัลติจูดออกงาน
|
||||
checkOutLon: String; //ละติจูดออกงาน
|
||||
}
|
||||
export type { TableRows, DataResLog, DataResTime };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue