Add driver compensation fields to OCSS Booking struct
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:
Arnaud Delcasse
2025-10-08 16:20:09 +02:00
parent feb4909a70
commit 5dbb3e23d4

View File

@@ -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"`
}