/* Options: Date: 2026-09-01 21:49:54 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //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"` // @References("typeof(MyApp.ServiceModel.Coupon)") CouponId *string `json:"couponId,omitempty"` Discount Coupon `json:"discount"` Notes *string `json:"notes,omitempty"` Cancelled *bool `json:"cancelled,omitempty"` } /** @description Delete a Booking */ // @Route("/booking/{Id}", "DELETE") // @ValidateRequest(Validator="HasRole(`Manager`)") type DeleteBooking struct { Id int `json:"id,omitempty"` } func (DeleteBooking) CreateResponseVoid() {} func (DeleteBooking) HttpMethod() string { return "DELETE" }