stock request table created
This commit is contained in:
@@ -86,6 +86,31 @@ type Locationconfigs struct {
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type FleetCounts struct {
|
||||
Totalriders int `json:"totalriders"`
|
||||
Activeriders int `json:"activeriders"`
|
||||
Ridersworked int `json:"ridersworked"`
|
||||
Totallogins int `json:"totallogins"`
|
||||
}
|
||||
|
||||
type FleetRiderSummary struct {
|
||||
Userid int `json:"userid"`
|
||||
Fullname string `json:"fullname"`
|
||||
Contactno string `json:"contactno"`
|
||||
Partnerid int `json:"partnerid"`
|
||||
Status string `json:"status"`
|
||||
Vehicleno string `json:"vehicleno"`
|
||||
Vehiclename string `json:"vehiclename"`
|
||||
Dayslogged int `json:"dayslogged"`
|
||||
Totalworkhours float32 `json:"totalworkhours"`
|
||||
Totalshorthours float32 `json:"totalshorthours"`
|
||||
Totalbreakhours float32 `json:"totalbreakhours"`
|
||||
}
|
||||
|
||||
type FleetSummary struct {
|
||||
Counts FleetCounts `json:"counts"`
|
||||
Riders []FleetRiderSummary `json:"riders"`
|
||||
}
|
||||
|
||||
type RiderlogDetails struct {
|
||||
Logid int `json:"logid"`
|
||||
@@ -103,4 +128,4 @@ type RiderlogDetails struct {
|
||||
Shorthours float32 `json:"shorthours"`
|
||||
Breakhours float32 `json:"breakhours"`
|
||||
Logstatus int `json:"logstatus"`
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user