/* Options: Date: 2026-10-13 05:43:10 Version: 10.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://vue-spa.web-templates.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteBooking.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" "time" ) /** @description Booking Details */ type Booking struct { ss.AuditBase Id int `json:"id,omitempty"` Name string `json:"name"` RoomType RoomType `json:"roomType,omitempty"` RoomNumber int `json:"roomNumber,omitempty"` BookingStartDate time.Time `json:"bookingStartDate,omitempty"` BookingEndDate *time.Time `json:"bookingEndDate,omitempty"` Cost float64 `json:"cost,omitempty"` Notes *string `json:"notes,omitempty"` Cancelled *bool `json:"cancelled,omitempty"` Employee User `json:"employee"` } // @ValidateRequest(Validator="HasRole(`Manager`)") // @ValidateRequest(Validator="HasRole(`Employee`)") type DeleteBooking struct { Id *int `json:"id,omitempty"` Ids []int `json:"ids,omitempty"` } func (DeleteBooking) CreateResponseVoid() {} func (DeleteBooking) HttpMethod() string { return "DELETE" }