' Options: 'Date: 2024-12-03 18:09:37 '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: ReviewQuery.* '''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 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 Review Inherits BaseModel Public Overridable Property ReviewId As Guid Public Overridable Property CompanyId As Guid Public Overridable Property Title As String Public Overridable Property Description As String Public Overridable Property Author As String Public Overridable Property Status As Integer Public Overridable Property Created As Date Public Overridable Property Updated As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property ReviewAnswer As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class RatingReviewResponse ''' '''The title for the review ''' Public Overridable Property Title As String ''' '''The description for the review ''' Public Overridable Property Description As String ''' '''The rating score ''' Public Overridable Property RatingScore As Integer ''' '''The review author ''' Public Overridable Property Author As String ''' '''The created date ''' Public Overridable Property Created As Date ''' '''The review answer from the company ''' Public Overridable Property ReviewAnswer As String End Class Public Partial Class ReviewQuery Inherits QueryDb(Of Review, RatingReviewResponse) Implements IReturn(Of QueryResponse(Of RatingReviewResponse)) Implements ICompany ''' ''' ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' ''' ''' Public Overridable Property Id As Nullable(Of Guid) ''' '''If you want to collect only active reviews ''' Public Overridable Property Active As Nullable(Of Boolean) End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace