/* Options: Date: 2024-12-22 21:26:01 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteBooking.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Delete a Booking */ @Route(Path="/booking/{Id}", Verbs="DELETE") @ValidateRequest(Validator="HasRole(`Manager`)") open class DeleteBooking : IReturnVoid, IDeleteDb { open var id:Int? = null } /** * Booking Details */ open class Booking : AuditBase() { open var id:Int? = null open var name:String? = null open var roomType:RoomType? = null open var roomNumber:Int? = null open var bookingStartDate:Date? = null open var bookingEndDate:Date? = null open var cost:BigDecimal? = null @References(Type=Coupon::class) open var couponId:String? = null open var discount:Coupon? = null open var notes:String? = null open var cancelled:Boolean? = null }