From 48f034316b911b3d67ce7c3ee5102b929eb53a04 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 16 Mar 2026 10:49:39 +0100 Subject: [PATCH] booking strange state --- models/booking/booking.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/booking/booking.go b/models/booking/booking.go index 7b14d62..bf005cc 100644 --- a/models/booking/booking.go +++ b/models/booking/booking.go @@ -25,7 +25,7 @@ type Booking struct { DestPeerID string `json:"dest_peer_id,omitempty" bson:"dest_peer_id,omitempty"` // DestPeerID is the ID of the destination peer WorkflowID string `json:"workflow_id,omitempty" bson:"workflow_id,omitempty"` // WorkflowID is the ID of the workflow ExecutionID string `json:"execution_id,omitempty" bson:"execution_id,omitempty" validate:"required"` - State enum.BookingStatus `json:"state,omitempty" bson:"state,omitempty" validate:"required"` // State is the state of the booking + State enum.BookingStatus `json:"state" bson:"state"` // State is the state of the booking ExpectedStartDate time.Time `json:"expected_start_date,omitempty" bson:"expected_start_date,omitempty" validate:"required"` // ExpectedStartDate is the expected start date of the booking ExpectedEndDate *time.Time `json:"expected_end_date,omitempty" bson:"expected_end_date,omitempty" validate:"required"` // ExpectedEndDate is the expected end date of the booking