This commit is contained in:
mr
2026-04-23 11:40:13 +02:00
parent d6106dacde
commit d9b1ad8dde

View File

@@ -15,6 +15,7 @@ import (
type Booking struct { type Booking struct {
utils.AbstractObject // AbstractObject contains the basic fields of an object (id, name) 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"` 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 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