' Options: 'Date: 2025-12-06 07:05:21 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://backoffice-api.brovs.com ' '''GlobalNamespace: BackofficeApi '''MakePartial: True '''MakeVirtual: False '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: LotteryGetRequest.* '''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 BackofficeApi Namespace Global Namespace BackofficeApi Public Partial Class LotteryDetailsDto Public Property Id As Long Public Property StartAt As DateTimeOffset Public Property StopAt As DateTimeOffset Public Property Images As List(Of LotteryImageDto) = New List(Of LotteryImageDto) Public Property Title As String Public Property Description As String Public Property WinnerToDisplay As String Public Property Winner As LotteryWinnerDto Public Property CountryCode As String Public Property State As TimeRelativeLotteryState Public Property UpdatedAt As DateTimeOffset End Class Public Partial Class LotteryGetRequest Implements IReturn(Of LotteryGetResponse) Implements IGet Public Property LotteryId As Long End Class Public Partial Class LotteryGetResponse Public Property Lottery As LotteryDetailsDto End Class Public Partial Class LotteryImageDto Public Property Id As Long Public Property ImageUrl As ImageUrls Public Property Position As Integer End Class Public Partial Class LotteryWinnerDto Public Property UserId As Long Public Property FirstName As String Public Property LastName As String Public Property HomeAddress As UserAddress Public Property MobilePhone As String Public Property MobilePhoneConfirmedAt As DateTimeOffset? Public Property Email As String Public Property EmailConfirmedAt As DateTimeOffset? End Class Public Partial Class ImageUrls Public Property Preview As String Public Property Small As String Public Property Medium As String Public Property Large As String End Class Public Enum TimeRelativeLotteryState Draft PublishedUpcoming PublishedActive PublishedEndedDrawWinner PublishedEndedContactWinner Archived End Enum Public Partial Class UserAddress Public Property StreetName As String Public Property StreetNumber As String Public Property PostalCode As String Public Property Region As String Public Property CountryCode As String End Class End Namespace End Namespace