' Options: 'Date: 2024-11-21 16:56:21 '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: DashboardMessageQuery.* '''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.Interfaces 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 DashboardMessage Inherits BaseModel Public Overridable Property MessageTypeId As Integer Public Overridable Property MessageType As DashboardMessageType Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Title As String Public Overridable Property Body As String Public Overridable Property Important As Boolean Public Overridable Property VisibleFrom As Date Public Overridable Property VisibleTo As Date Public Overridable Property Created As Date Public Overridable Property SupportCaseId As Nullable(Of Integer) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class DashboardMessageType Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Image As String Public Overridable Property ApplicationMessage As Nullable(Of Boolean) Public Overridable Property Color As String Public Overridable Property Icon As String 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 DasboardMessageTypeResponse ''' '''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 message type image ''' Public Overridable Property ImageUrl As String ''' '''If the message type is a application message ''' Public Overridable Property ApplicationMessage As Nullable(Of Boolean) ''' '''The message type icon ''' Public Overridable Property Icon As String ''' '''The message type color ''' Public Overridable Property Color As String End Class Public Partial Class DashboardMessageQuery Inherits QueryDb(Of DashboardMessage, DashboardMessageQueryResponse) Implements IReturn(Of QueryResponse(Of DashboardMessageQueryResponse)) Implements ICompany ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''If you want to filter on important messages only ''' Public Overridable Property Important As Nullable(Of Boolean) ''' '''Filter on Message Type Id ''' Public Overridable Property MessageTypeId As Nullable(Of Integer) ''' '''If you want to include the message type information ''' Public Overridable Property IncludeMessageTypeInformation As Boolean Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class DashboardMessageQueryResponse ''' '''The message id ''' Public Overridable Property Id As Integer ''' '''The message title. ''' Public Overridable Property Title As String ''' '''The message body. ''' Public Overridable Property Body As String ''' '''If the message is important. ''' Public Overridable Property Important As Boolean ''' '''If the message visible from date. ''' Public Overridable Property VisibleFrom As Date ''' '''If the message visible to date. ''' Public Overridable Property VisibleTo As Date ''' '''If the message created date. ''' Public Overridable Property Created As Date ''' '''If the message type id. ''' Public Overridable Property MessageTypeId As Integer ''' '''If the message is connected to a support case. ''' Public Overridable Property SupportCaseId As Nullable(Of Integer) ''' '''If the message type information. ''' Public Overridable Property MessageType As DasboardMessageTypeResponse End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace