update
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"github.com/paulmach/orb/geojson"
|
||||
)
|
||||
|
||||
// Booking is the internal struct to desribe a booking. It overrides ocss.Booking and adds driver and passenger routes
|
||||
type Booking struct {
|
||||
ocss.Booking `bson:",inline"`
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ import (
|
||||
"github.com/paulmach/orb/geojson"
|
||||
)
|
||||
|
||||
// PlannedRouteSchedule describes a route at a specific date, or a journey
|
||||
// It can be used during journeys search to store journeys after they are processed from regular routes and tiles
|
||||
type PlannedRouteSchedule struct {
|
||||
ID string `bson:"_id" json:"id"`
|
||||
Route *geojson.FeatureCollection
|
||||
|
||||
Reference in New Issue
Block a user