' Options: 'Date: 2024-11-21 11:58:42 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: CurrencyQuery.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.IO Imports BokaMera.API.ServiceModel.Db Imports BokaMera.API.ServiceModel.Dtos Imports PaysonIntegrationCO2.Models.Enums Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class Currency Inherits BaseModel Public Overridable Property Name As String Public Overridable Property CurrencySign As String Public Overridable Property Active As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class CurrencyQuery Inherits QueryDb(Of Currency, CurrencyQueryResponse) Implements IReturn(Of QueryResponse(Of CurrencyQueryResponse)) ''' '''Id of the currency ''' Public Overridable Property Id As String ''' '''Only active currencies ''' Public Overridable Property Active As Boolean End Class Public Partial Class CurrencyQueryResponse Public Overridable Property Id As String Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property CurrencySign As String Public Overridable Property Active As Boolean Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace PaysonIntegrationCO2.Models.Enums Public Enum Currency SEK = 1 EUR = 2 End Enum End Namespace End Namespace