Return handling
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
package types
|
||||
|
||||
import "time"
|
||||
|
||||
type Booking struct {
|
||||
Id string `json:"id" bson:"_id"`
|
||||
GroupId string `json:"group_id" bson:"group_id"`
|
||||
DriverId string `json:"driver_id" bson:"driver_id"`
|
||||
PassengerId string `json:"passenger_id" bson:"passenger_id"`
|
||||
Status string `json:"status" bson:"status"`
|
||||
Id string `json:"id" bson:"_id"`
|
||||
GroupId string `json:"group_id" bson:"group_id"`
|
||||
DriverId string `json:"driver_id" bson:"driver_id"`
|
||||
PassengerId string `json:"passenger_id" bson:"passenger_id"`
|
||||
Status string `json:"status" bson:"status"`
|
||||
ReturnWaitingDuration time.Duration `json:"return_waiting_duration" bson:"return_waiting_duration"`
|
||||
|
||||
Journey *DriverJourney `json:"journey,omitempty" bson:"journey,omitempty"`
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ type DriverJourney struct {
|
||||
PassengerPickupDate time.Time `json:"passenger_pickup_date" bson:"passenger_pickup_date"`
|
||||
DriverDepartureDate time.Time `json:"driver_departure_date" bson:"driver_departure_date"`
|
||||
Price SolidarityTransportPrice
|
||||
Noreturn bool
|
||||
}
|
||||
|
||||
type PassengerTrip struct {
|
||||
|
||||
Reference in New Issue
Block a user