Add driver compensation fields to OCSS Booking struct
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 2m59s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 2m59s
Add DriverCompensationAmount and DriverCompensationCurrency fields to the Booking struct to support storing driver compensation information in the database.
This commit is contained in:
@@ -117,4 +117,6 @@ type Booking struct {
|
||||
Car *Car `json:"car,omitempty" bson:"car,omitempty"`
|
||||
DriverJourneyID string `json:"driverJourneyId" bson:"driverJourneyId"`
|
||||
PassengerJourneyID string `json:"passengerJourneyId" bson:"passengerJourneyId"`
|
||||
DriverCompensationAmount *float64 `json:"driverCompensationAmount,omitempty" bson:"driverCompensationAmount,omitempty"`
|
||||
DriverCompensationCurrency *string `json:"driverCompensationCurrency,omitempty" bson:"driverCompensationCurrency,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user