' Options: 'Date: 2024-11-21 11:36: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: HomepageMenuQuery.* '''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 HomepageMenu Inherits BaseModel Public Overridable Property HomeText As String Public Overridable Property HomeHidden As Boolean Public Overridable Property ServicesText As String Public Overridable Property ServicesHidden As Boolean Public Overridable Property BookTimeText As String Public Overridable Property BookTimeHidden As Boolean Public Overridable Property AboutUsText As String Public Overridable Property AboutUsHidden As Boolean Public Overridable Property ContactUsText As String Public Overridable Property ContactUsHidden As Boolean Public Overridable Property MyBookingsText As String Public Overridable Property MyBookingsHidden As Boolean Public Overridable Property CalendarText As String Public Overridable Property CalendarHidden As Boolean Public Overridable Property NewsText As String Public Overridable Property NewsHidden As Boolean Public Overridable Property AddressText As String Public Overridable Property AddressHidden As Boolean Public Overridable Property GalleryText As String Public Overridable Property GalleryHidden As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Guid End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class HomepageMenuQuery Inherits QueryDb(Of HomepageMenu, HomepageMenuQueryResponse) Implements IReturn(Of QueryResponse(Of HomepageMenuQueryResponse)) 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 homeage sitepath. ''' Public Overridable Property SitePath As String End Class Public Partial Class HomepageMenuQueryResponse ''' '''The company id ''' Public Overridable Property CompanyId As Guid ''' '''The text for home menu item ''' Public Overridable Property HomeText As String ''' '''If the home menu item should be hidden ''' Public Overridable Property HomeHidden As Boolean ''' '''The text for services menu item ''' Public Overridable Property ServicesText As String ''' '''If the services menu item should be hidden ''' Public Overridable Property ServicesHidden As Boolean ''' '''The text for book time menu item ''' Public Overridable Property BookTimeText As String ''' '''If the book time menu item should be hidden ''' Public Overridable Property BookTimeHidden As Boolean ''' '''The text for about us menu item ''' Public Overridable Property AboutUsText As String ''' '''If the about us menu item should be hidden ''' Public Overridable Property AboutUsHidden As Boolean ''' '''The text for contact us menu item ''' Public Overridable Property ContactUsText As String ''' '''If the contact us menu item should be hidden ''' Public Overridable Property ContactUsHidden As Boolean ''' '''The text for my bookings menu item ''' Public Overridable Property MyBookingsText As String ''' '''If the my bookings menu item should be hidden ''' Public Overridable Property MyBookingsHidden As Boolean ''' '''The text for calender menu item ''' Public Overridable Property CalendarText As String ''' '''If the calendar menu item should be hidden ''' Public Overridable Property CalendarHidden As Boolean ''' '''The text for news menu item ''' Public Overridable Property NewsText As String ''' '''If the news menu item should be hidden ''' Public Overridable Property NewsHidden As Boolean ''' '''The text for address menu item ''' Public Overridable Property AddressText As String ''' '''If the address menu item should be hidden ''' Public Overridable Property AddressHidden As Nullable(Of Boolean) ''' '''The text for gallery menu item ''' Public Overridable Property GalleryText As String ''' '''If the gallery menu item should be hidden ''' Public Overridable Property GalleryHidden As Nullable(Of Boolean) Public Overridable Property ResponseStatus As ResponseStatus 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