carpool-service/internal/planned-route-schedules.go

16 lines
359 B
Go

package internal
import (
"time"
"git.coopgo.io/coopgo-platform/routing-service"
"github.com/paulmach/orb/geojson"
)
type PlannedRouteSchedule struct {
ID string `bson:"_id" json:"id"`
Route *geojson.FeatureCollection
DepartureDate time.Time `bson:"departureDate"`
Itinerary *routing.Route `bson:"itinerary,omitempty"`
}