' Options: 'Date: 2024-11-21 12:55:57 '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: MessageTypeQuery.* '''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 Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class MessageType Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property MaxCharacters As Integer Public Overridable Property DefaultText As String Public Overridable Property SendMethodId As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class MessageTypeQuery Inherits QueryDb(Of MessageType, MessageTypeQueryResponse) Implements IReturn(Of QueryResponse(Of MessageTypeQueryResponse)) ''' '''The message type id. ''' Public Overridable Property Id As Nullable(Of Integer) ''' '''The message send method id. 1 = Email, 2 = SMS ''' Public Overridable Property SendMethodId As Nullable(Of Integer) End Class Public Partial Class MessageTypeQueryResponse ''' '''The message type id ''' Public Overridable Property Id As Integer ''' '''The message type name. ''' Public Overridable Property Name As String ''' '''The message type description. ''' Public Overridable Property Description As String ''' '''The maximum number of charachters that can be entered into message body using this type. ''' Public Overridable Property MaxCharacters As Integer ''' '''The default text that is always included when sending messages of this type. ''' Public Overridable Property DefaultText As String ''' '''The send method for this type. 1 = Email, 2 = SMS. ''' Public Overridable Property SendMethodId As Integer End Class End Namespace End Namespace