From d9b1ad8ddee50f85bc234e8640f64f9bbdeb92ea Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 23 Apr 2026 11:40:13 +0200 Subject: [PATCH] ToMaster --- models/booking/booking.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/booking/booking.go b/models/booking/booking.go index 92b8035..51b3cd9 100644 --- a/models/booking/booking.go +++ b/models/booking/booking.go @@ -15,6 +15,7 @@ import ( type Booking struct { utils.AbstractObject // AbstractObject contains the basic fields of an object (id, name) + ToMaster string `json:"to_master,omitempty" bson:"to_master,omitempty"` FromNano string `json:"from_nano,omitempty" bson:"priced_item,omitempty"` PricedItem map[string]interface{} `json:"priced_item,omitempty" bson:"priced_item,omitempty"` // We need to add the validate:"required" tag once the pricing feature is implemented, removed to avoid handling the error