' Options:
'Date: 2025-01-06 02:31:48
'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: DeleteCoupon.*
'''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

        '''<Summary>
        '''Discount Coupons
        '''</Summary>
        Public Partial Class Coupon
            Public Overridable Property Id As String
            Public Overridable Property Description As String
            Public Overridable Property Discount As Integer
            Public Overridable Property ExpiryDate As Date
        End Class

        '''<Summary>
        '''Delete a Coupon
        '''</Summary>
        <Route("/coupons/{Id}", "DELETE")>
        <ValidateRequest(Validator:="HasRole(`Manager`)")>
        Public Partial Class DeleteCoupon
            Implements IReturnVoid
            Implements IDeleteDb(Of Coupon)
            Public Overridable Property Id As String
        End Class
    End Namespace
End Namespace