This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ type Booking struct {
|
||||
Unavailableto time.Time `json:"unavailableto"`
|
||||
Data map[string]any `json:"data"`
|
||||
|
||||
Deleted bool
|
||||
Deleted bool `json:"deleted"`
|
||||
Vehicle Vehicle `json:"vehicle" bson:"-"`
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ type VehicleFilters struct {
|
||||
Administrators []string
|
||||
AvailableFrom time.Time
|
||||
AvailableTo time.Time
|
||||
IncludeDeleted bool
|
||||
}
|
||||
|
||||
func (v Vehicle) Free(start time.Time, end time.Time) bool {
|
||||
|
||||
Reference in New Issue
Block a user