' Options: 'Date: 2024-12-22 21:05:08 'Version: 8.51 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://blazor-gallery.servicestack.net ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: UpdateBooking.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports MyApp.ServiceModel Namespace Global Namespace MyApp.ServiceModel ''' '''Booking Details ''' Public Partial Class Booking Inherits AuditBase Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property RoomType As RoomType Public Overridable Property RoomNumber As Integer Public Overridable Property BookingStartDate As Date Public Overridable Property BookingEndDate As Date? Public Overridable Property Cost As Decimal Public Overridable Property CouponId As String Public Overridable Property Discount As Coupon Public Overridable Property Notes As String Public Overridable Property Cancelled As Boolean? End Class Public Enum RoomType [Single] [Double] Queen Twin Suite End Enum ''' '''Update an existing Booking ''' Public Partial Class UpdateBooking Implements IReturn(Of IdResponse) Implements IPatchDb(Of Booking) Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property RoomType As RoomType? Public Overridable Property RoomNumber As Integer? Public Overridable Property Cost As Decimal? Public Overridable Property BookingStartDate As Date? Public Overridable Property BookingEndDate As Date? Public Overridable Property Notes As String Public Overridable Property CouponId As String Public Overridable Property Cancelled As Boolean? End Class End Namespace End Namespace