' Options: 'Date: 2024-11-21 11:40:27 '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: HomepageImagesQuery.* '''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.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class HomepageImage Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Title As String Public Overridable Property Description As String Public Overridable Property ImageUrl As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class HomepageImageQueryResponse ''' '''The company id. ''' Public Overridable Property CompanyId As Guid ''' '''The homepage image id. ''' Public Overridable Property Id As Integer ''' '''The image title. ''' Public Overridable Property Title As String ''' '''The image description. ''' Public Overridable Property Description As String ''' '''The image url. ''' Public Overridable Property ImageUrl As Uri End Class Public Partial Class HomepageImagesQuery Inherits QueryDb(Of HomepageImage, HomepageImageQueryResponse) Implements IReturn(Of QueryResponse(Of HomepageImageQueryResponse)) Implements ICompanyRequest ''' '''Enter the company you want to see news for, if blank and you are an admin, your company id will be used ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''The image id. ''' Public Overridable Property Id As Nullable(Of Integer) ''' '''The homeage sitepath. ''' Public Overridable Property SitePath As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompanyRequest Property CompanyId As Nullable(Of Guid) Property SitePath As String End Interface End Namespace End Namespace