' Options: 'Date: 2024-09-30 10:15:44 '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: ReferenceQuery.* '''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 ExternalReference Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property Id As Guid Public Overridable Property OwnerId As Guid Public Overridable Property ReferenceType As String Public Overridable Property ExternalData As String Public Overridable Property CreatedBy As String Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class ReferenceQuery Inherits QueryDb(Of ExternalReference, ReferenceQueryResponse) Implements IReturn(Of QueryResponse(Of ReferenceQueryResponse)) 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) ''' '''Id of the reference ''' Public Overridable Property Id As Nullable(Of Guid) ''' '''Internal Id of the reference. Example could be the Booking Id ''' Public Overridable Property OwnerId As Nullable(Of Guid) ''' '''The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system ''' Public Overridable Property ReferenceType As String ''' '''The external data. Could be a Id or a JSON object or anything ''' Public Overridable Property ExternalData As String End Class Public Partial Class ReferenceQueryResponse ''' '''The company id ''' Public Overridable Property CompanyId As Guid ''' '''Id of the reference ''' Public Overridable Property Id As Guid ''' '''Internal Id of the reference. Example could be the Booking Id ''' Public Overridable Property OwnerId As Guid ''' '''The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system ''' Public Overridable Property ReferenceType As String ''' '''The external data. Could be a Id or a JSON object or anything ''' Public Overridable Property ExternalData As String ''' '''Will show when the reference was updated. ''' Public Overridable Property Updated As Date ''' '''Will show when the reference was created. ''' Public Overridable Property Created As Date ''' '''Will show who created the reference. ''' Public Overridable Property CreatedBy As String ''' '''Will show who update the reference. ''' Public Overridable Property UpdatedBy As String Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace