27 lines
619 B
Go
27 lines
619 B
Go
package common
|
|
|
|
type MapHistory struct {
|
|
Name string `json:"name,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
Location *MapCoordinates `json:"location,omitempty"`
|
|
}
|
|
|
|
type MapHistoryAdd struct {
|
|
VIN string `json:"vin"`
|
|
MapHistory MapHistory `json:"map_history"`
|
|
}
|
|
|
|
type HMIMapHistoryGet struct {
|
|
DriverID string `json:"driver_id"`
|
|
}
|
|
|
|
type HMIMapHistoryAdd struct {
|
|
DriverID string `json:"driver_id"`
|
|
Search MapHistory `json:"search"`
|
|
}
|
|
|
|
type HMIMapHistory struct {
|
|
DriverID string `json:"driver_id"`
|
|
Searches []MapHistory `json:"searches"`
|
|
}
|