' Options: 'Date: 2024-11-21 11:54:26 '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: BookingLogQuery.* '''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.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class BookingLog Inherits BaseModel Public Overridable Property EventTypeId As Integer Public Overridable Property EventType As BookingLogEventType Public Overridable Property CompanyId As Guid Public Overridable Property BookingId As Integer Public Overridable Property Id As Integer Public Overridable Property Comments As String Public Overridable Property UserId As String Public Overridable Property Created As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class BookingLogEventType Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description 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 BookingLogEventTypeResponse ''' '''The event type id ''' Public Overridable Property Id As Integer ''' '''The event type name ''' Public Overridable Property Name As String ''' '''The event type description ''' Public Overridable Property Description As String End Class Public Partial Class BookingLogQuery Inherits QueryDb(Of BookingLog, BookingLogQueryResponse) Implements IReturn(Of QueryResponse(Of BookingLogQueryResponse)) ''' '''Enter the company and booking id you want to see log for, if blank company id and you are an admin, your company id will be used ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''Enter the booking id you want to get the log ''' Public Overridable Property BookingId As Integer End Class Public Partial Class BookingLogQueryResponse ''' '''The booking log id ''' Public Overridable Property Id As Integer ''' '''The booking id ''' Public Overridable Property BookingId As Integer ''' '''The type of event ''' Public Overridable Property EventTypeId As Integer ''' '''The type of event ''' Public Overridable Property EventType As BookingLogEventTypeResponse ''' '''Comments that could be added to the event log item ''' Public Overridable Property Comments As String ''' '''The user created the event ''' Public Overridable Property UserName As String ''' '''Then date when the event occured ''' Public Overridable Property Created As Date End Class End Namespace End Namespace