' Options: 'Date: 2024-12-03 18:14: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: CustomFieldQuery.* '''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.Enums Imports BokaMera.API.ServiceModel.Dtos Imports PaysonIntegrationCO2.Models.Enums Imports BokaMera.API.ServiceModel.Helpers.Payment Imports QvicklyIntegration.Models.Checkout Imports QvicklyIntegration.Models.Payment Imports PaysonIntegrationCO2.Models Imports BokaMera.API.ServiceModel.Helpers.Payson1Payment Imports Microsoft.Extensions.Logging Imports QvicklyIntegration.Models.Common Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class AdminPaymentOptions 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 Public Partial Class Article Inherits BaseModel Implements IBaseModelCreated Implements IBaseModelUpdated Public Sub New() ArticleServiceRelations = New List(Of ArticleServiceRelation) ServiceIds = New List(Of Integer) End Sub Public Overridable Property Company As Company Public Overridable Property CurrencyInfo As Currency Public Overridable Property ArticleServiceRelations As List(Of ArticleServiceRelation) Public Overridable Property ServiceIds As List(Of Integer) Public Overridable Property ArticleType As ArticleTypeEnum Public Overridable Property ArticleTypeName As String Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property ArticleTypeId As Integer Public Overridable Property Description As String Public Overridable Property ImageUrl As String Public Overridable Property Active As Boolean Public Overridable Property Amount As Integer Public Overridable Property Price As Double Public Overridable Property CurrencyId As String Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class ArticleServiceRelation Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property ServiceId As Integer Public Overridable Property ArticleId As Integer End Class Public Partial Class AverageRatingScore Public Overridable Property AverageScore As Double Public Overridable Property Score1Count As Integer Public Overridable Property Score2Count As Integer Public Overridable Property Score3Count As Integer Public Overridable Property Score4Count As Integer Public Overridable Property Score5Count As Integer Public Overridable Property Count As Integer End Class Public Partial Class BaseModel End Class Public Partial Class Booking Inherits PayableEntity Implements IInterval Implements ICustomFieldTable Implements IBaseModelUpdated Implements IBaseModelCreated Public Sub New() Log = New List(Of BookingLog) CheckoutLogs = New List(Of PaymentDetails) Prices = New List(Of BookingPrice) PriceMappings = New List(Of PriceMapping) End Sub Public Overridable Property Service As Service Public Overridable Property CalendarExport As CalendarExport Public Overridable Property Log As List(Of BookingLog) Public Overridable Property CheckoutLogs As List(Of PaymentDetails) Public Overridable Property Prices As List(Of BookingPrice) Public Overridable Property Status As BookingStatusEnum Public Overridable Property IsReserved As Boolean Public Overridable Property StatusName As String Public Overridable Property CurrencyInfo As Currency Public Overridable Property BookingStatus As BookingStatus Public Overridable Property TotalPrice As Nullable(Of Double) Public Overridable Property TotalSpots As Nullable(Of Integer) Public Overridable Property Resources As IList(Of Resource) Public Overridable Property ExternalReferences As IList(Of ExternalReference) Public Overridable Property BookedResources As IList(Of BookedResourceType) Public Overridable Property CustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property CustomFieldsData As IList(Of CustomFieldDataResponse) Public Overridable Property DeterministicId As Guid Public Overridable Property Active As Boolean Public Overridable Property LastTimeToUnBook As Nullable(Of Date) Public Overridable Property PriceMappings As List(Of PriceMapping) Public Overridable Property InternalReferenceId As String Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property Id As Integer Public Overridable Property CustomerId As Guid Public Overridable Property ServiceId As Integer Public Overridable Property StatusId As Integer Public Overridable Property UnbookedOn As Nullable(Of Date) Public Overridable Property UnbookedComments As String Public Overridable Property BookedComments As String Public Overridable Property BookedBy As String Public Overridable Property UnBookedBy As String Public Overridable Property SendSmsReminder As Boolean Public Overridable Property SendEmailReminder As Boolean Public Overridable Property SendSmsConfirmation As Boolean Public Overridable Property RebateCode As String Public Overridable Property Comments As String Public Overridable Property IpAddress As String Public Overridable Property NumberOfBookedSpots As Integer Public Overridable Property CommentsToCustomer As String Public Overridable Property PaymentExpiration As Nullable(Of Date) Public Overridable Property SendEmailConfirmation As Boolean Public Overridable Property CancellationCode As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property RatingCode As String Public Overridable Property TextField1 As String Public Overridable Property TextField2 As String Public Overridable Property TextField3 As String Public Overridable Property TextField4 As String Public Overridable Property TextField5 As String Public Overridable Property TextField6 As String Public Overridable Property TextField7 As String Public Overridable Property TextField8 As String Public Overridable Property TextField9 As String Public Overridable Property TextField10 As String Public Overridable Property TextField11 As String Public Overridable Property TextField12 As String Public Overridable Property TextField13 As String Public Overridable Property TextField14 As String Public Overridable Property TextField15 As String Public Overridable Property TextField16 As String Public Overridable Property TextField17 As String Public Overridable Property TextField18 As String Public Overridable Property TextField19 As String Public Overridable Property TextField20 As String Public Overridable Property From As Date Public Overridable Property To As Date 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 Public Partial Class BookingPrice Inherits BaseModel Public Sub New() AppliedCodes = New List(Of AppliedRebateCodes) End Sub Public Overridable Property CurrencyId As String Public Overridable Property ServicePriceId As Nullable(Of Integer) Public Overridable Property CurrencyInfo As Currency Public Overridable Property PriceText As String Public Overridable Property AppliedCodes As List(Of AppliedRebateCodes) Public Overridable Property IsRebate As Boolean Public Overridable Property CompanyId As Guid Public Overridable Property BookingId As Integer Public Overridable Property Quantity As Integer Public Overridable Property Price As Nullable(Of Double) Public Overridable Property VAT As Nullable(Of Decimal) Public Overridable Property Category As String Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property Invoiced As Boolean Public Overridable Property OccupiesSpot As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class BookingSettings Inherits BaseModel Public Sub New() ScheduleViewOptions = New List(Of ScheduleView) WeekNumberSettingOptions = New List(Of WeekNumberSetting) BookingTemplateOptions = New List(Of BookingTemplate) CalendarTypeOptions = New List(Of CalendarType) FreeSpotTextOptions = New List(Of FreeSpotTexts) BookingStatusOptions = New List(Of BookingStatusOptions) End Sub Public Overridable Property FreeSpotTextsId As Integer Public Overridable Property SendEmailConfirmation As Boolean Public Overridable Property ScheduleViewOptions As List(Of ScheduleView) Public Overridable Property WeekNumberSettingOptions As List(Of WeekNumberSetting) Public Overridable Property BookingTemplateOptions As List(Of BookingTemplate) Public Overridable Property CalendarTypeOptions As List(Of CalendarType) Public Overridable Property FreeSpotTextOptions As List(Of FreeSpotTexts) Public Overridable Property BookingStatusOptions As List(Of BookingStatusOptions) Public Overridable Property FreeSpotTextsInfo As FreeSpotTexts Public Overridable Property FreeSpotsTextSingular As String Public Overridable Property FreeSpotsTextPlural As String Public Overridable Property BookingStatusId As Integer Public Overridable Property ScheduleViewId As Integer Public Overridable Property BookingTemplateId As Integer Public Overridable Property CalendarTypeId As Integer Public Overridable Property AllowBookingOnUnbookedTimes As Boolean Public Overridable Property SendEmailReminder As Boolean Public Overridable Property SendSmsReminder As Boolean Public Overridable Property SendSmsConfirmation As Boolean Public Overridable Property EmailReminderTime As Integer Public Overridable Property SmsReminderTime As Integer Public Overridable Property MaxActiveBookings As Integer Public Overridable Property SendNotifications As Boolean Public Overridable Property SendNotificationsEmail As String Public Overridable Property EnableMobileApp As Boolean Public Overridable Property ScheduleStartTime As Nullable(Of TimeSpan) Public Overridable Property ScheduleEndTime As Nullable(Of TimeSpan) Public Overridable Property ReceiptTemplate As String Public Overridable Property ScheduleTimeSlotMinutes As Integer Public Overridable Property ShowFreeTimesLeft As Boolean Public Overridable Property EnableICalGroupBookings As Boolean Public Overridable Property AgreementTemplate As String Public Overridable Property ScheduleShowTimeExeptions As Boolean Public Overridable Property EnableBookingsOnSameTime As Boolean Public Overridable Property ShowWeekNumberSettingId As Integer Public Overridable Property EnableShowBookedTimes As Boolean Public Overridable Property EnableSendFollowUpMessage As Boolean Public Overridable Property FollowUpMessageTime As Integer Public Overridable Property MessageText As String Public Overridable Property ScheduleGroupResources As Boolean Public Overridable Property BookSpotUserResponseMinutes As Integer Public Overridable Property IsBookSpotDirectly As Boolean Public Overridable Property BookSpotDirectlyTimeLeftMinutes As Integer Public Overridable Property SendEmailNotificationQueue As Boolean Public Overridable Property SendSMSNotificationQueue As Boolean Public Overridable Property SchedulerDisableHorizontalScrolling As Boolean Public Overridable Property BookOnlyOnExistingCustomers As Boolean Public Overridable Property AutoGenerateUniquePinCode As Boolean Public Overridable Property WeightedPrices As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property AutoCreateUserProfile As Boolean Public Overridable Property ShowMultipleResourcesAsOne As Boolean Public Overridable Property ShowMultiDayAsTime As Boolean Public Overridable Property Id As Guid End Class Public Partial Class BookingStatus Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Color As String Public Overridable Property Icon As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class BookingStatusOptions Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String End Class Public Partial Class BookingTemplate Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property UsedByApplication As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class CalendarExport Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property BookingId As Integer Public Overridable Property ExceptionId As Integer Public Overridable Property CalendarSync As Nullable(Of Boolean) Public Overridable Property CalendarId As String Public Overridable Property IsExceptionDeleted As Nullable(Of Boolean) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class CalendarType Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Active As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class CodeLockSetting Inherits BaseModel Public Sub New() CodeLockSystemOptions = New List(Of CodeLockSystem) End Sub Public Overridable Property CodeLockSystemOptions As List(Of CodeLockSystem) Public Overridable Property Active As Boolean Public Overridable Property CodeLockSystemsId As Integer Public Overridable Property ValidBeforeMinutes As Integer Public Overridable Property ValidAfterMinutes As Integer Public Overridable Property DeleteOldBySchedule As Boolean Public Overridable Property Created As Date Public Overridable Property Updated As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property SendEmailNotification As Boolean Public Overridable Property SendSMSNotification As Boolean Public Overridable Property EmailNotificationTime As Short Public Overridable Property SMSNotificationTime As Short Public Overridable Property Id As Guid End Class Public Partial Class CodeLockSystem Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Supplier As String Public Overridable Property LogoType As String Public Overridable Property Description As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class Company Inherits BaseModel Public Sub New() Ratings = New List(Of Rating) Licenses = New List(Of License) ActiveLicenses = New List(Of License) End Sub Public Overridable Property Status As CompanyStatus Public Overridable Property Active As Boolean Public Overridable Property CustomerCustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property BookingAgreements As String Public Overridable Property BookingSettings As BookingSettings Public Overridable Property CompanyType As CompanyType Public Overridable Property CodeLockSettings As CodeLockSetting Public Overridable Property PaymentSettings As PaymentSetting Public Overridable Property Settings As CompanySetting Public Overridable Property WidgetSettings As HomepageWidgetSetting Public Overridable Property HomepageSettings As HomepageSetting Public Overridable Property RatingScore As AverageRatingScore Public Overridable Property Ratings As List(Of Rating) Public Overridable Property Distance As Nullable(Of Double) Public Overridable Property Licenses As List(Of License) Public Overridable Property ActiveLicenses As List(Of License) Public Overridable Property CurrentLicense As License Public Overridable Property IsFreeAccount As Boolean Public Overridable Property DefaultLanguage As CultureInfo Public Overridable Property Category As CompanyCategory Public Overridable Property Lat As Double Public Overridable Property Lon As Double Public Overridable Property IsFavorite As Boolean Public Overridable Property ExternalReferences As IList(Of ExternalReference) Public Overridable Property OrganisationNumber As String Public Overridable Property StatusId As Integer Public Overridable Property CategoryId As Integer Public Overridable Property SitePath As String Public Overridable Property Name As String Public Overridable Property Street1 As String Public Overridable Property Street2 As String Public Overridable Property ZipCode As String Public Overridable Property City As String Public Overridable Property OpeningHours As String Public Overridable Property FaxNumber As String Public Overridable Property Email As String Public Overridable Property Phone As String Public Overridable Property Details As String Public Overridable Property LogoType As String Public Overridable Property ApprovedByAdmin As Boolean Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property IpAddress As String Public Overridable Property Homepage As String Public Overridable Property DomainName As String Public Overridable Property CountryId As String Public Overridable Property CompanyOwnerId As Integer Public Overridable Property TypeId As Nullable(Of Integer) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Guid End Class Public Partial Class CompanyCategory Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Header As String Public Overridable Property Description As String Public Overridable Property ImageUrl As Uri Public Overridable Property Active As Boolean Public Overridable Property SortOrder As Nullable(Of Integer) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class CompanySetting Inherits BaseModel Public Sub New() Languages = New List(Of LanguageResponse) End Sub Public Overridable Property Languages As List(Of LanguageResponse) Public Overridable Property Active As Boolean Public Overridable Property InactiveMessage As String Public Overridable Property Searchable As Boolean Public Overridable Property GATrackingId As String Public Overridable Property FacebookPixelId As String Public Overridable Property MultiLanguage As Boolean Public Overridable Property EnableAPITranslation As Boolean Public Overridable Property DefaultLanguage As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property GTMTrackingId As String Public Overridable Property ShowOnMarketPlace As Boolean Public Overridable Property GoogleAdsConversionId As String Public Overridable Property LinkedinTagId As String Public Overridable Property GoogleAdsConversionLabel As String Public Overridable Property SendCustomerInformationToExternalProviders As Boolean Public Overridable Property Id As Guid End Class Public Partial Class CompanyType 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 Public Partial Class Country Inherits BaseModel Public Overridable Property CurrencyId As String Public Overridable Property CurrencyInfo As Currency Public Overridable Property Name As String Public Overridable Property Culture As String Public Overridable Property TimeZone As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As String End Class Public Partial Class Currency Inherits BaseModel Public Overridable Property Name As String Public Overridable Property CurrencySign As String Public Overridable Property Active As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As String End Class Public Partial Class Customer Inherits BaseModel Implements IUser Implements ICustomFieldTable Public Overridable Property IdentityId As Integer Public Overridable Property Id As Guid Public Overridable Property CustomerId As Guid Public Overridable Property AccessKeys As IList(Of UserAccessKeys) Public Overridable Property Email As String Public Overridable Property ExternalReferences As IList(Of ExternalReference) Public Overridable Property Company As Company Public Overridable Property CustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property CustomFieldsData As IList(Of CustomFieldDataResponse) Public Overridable Property Comments As IList(Of CustomerComment) Public Overridable Property RebateCodes As IList(Of RebateCode) Public Overridable Property Firstname As String Public Overridable Property ImageUrl As String Public Overridable Property Active As Boolean Public Overridable Property FacebookUsername As String Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property IpAddress As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property TextField1 As String Public Overridable Property TextField2 As String Public Overridable Property TextField3 As String Public Overridable Property TextField4 As String Public Overridable Property TextField5 As String Public Overridable Property TextField6 As String Public Overridable Property TextField7 As String Public Overridable Property TextField8 As String Public Overridable Property TextField9 As String Public Overridable Property TextField10 As String Public Overridable Property TextField11 As String Public Overridable Property TextField12 As String Public Overridable Property TextField13 As String Public Overridable Property TextField14 As String Public Overridable Property TextField15 As String Public Overridable Property TextField16 As String Public Overridable Property TextField17 As String Public Overridable Property TextField18 As String Public Overridable Property TextField19 As String Public Overridable Property TextField20 As String Public Overridable Property UserId As Guid Public Overridable Property Lastname As String Public Overridable Property Phone As String Public Overridable Property CorporateIdentityNumber As String Public Overridable Property InvoiceAddress1 As String Public Overridable Property InvoiceAddress2 As String Public Overridable Property InvoiceCity As String Public Overridable Property InvoicePostalCode As String Public Overridable Property InvoiceCountryCode As String Public Overridable Property CompanyId As Guid Public Overridable Property SubscribedToNewsletter As Boolean End Class Public Partial Class CustomField Inherits BaseModel Public Overridable Property Table As String Public Overridable Property Column As String Public Overridable Property DataType As String Public Overridable Property Description As String Public Overridable Property Active As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class CustomFieldConfig Inherits BaseModel Public Sub New() Values = New List(Of CustomFieldValue) Services = New List(Of Service) CustomFieldServiceRelation = New List(Of CustomFieldServiceRelation) End Sub Public Overridable Property Values As List(Of CustomFieldValue) Public Overridable Property CustomField As CustomField Public Overridable Property RegEx As RegEx Public Overridable Property Services As List(Of Service) Public Overridable Property CustomFieldServiceRelation As List(Of CustomFieldServiceRelation) Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property GroupId As Nullable(Of Integer) Public Overridable Property FieldId As Integer Public Overridable Property IconId As Integer Public Overridable Property RegExId As Nullable(Of Integer) Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Datatype As String Public Overridable Property MaxLength As Integer Public Overridable Property IsPublic As Boolean Public Overridable Property IsHidden As Boolean Public Overridable Property IsMandatory As Boolean Public Overridable Property DefaultValue As String Public Overridable Property RegExErrorMessage As String Public Overridable Property MandatoryErrorMessage As String Public Overridable Property Width As Nullable(Of Integer) Public Overridable Property MultipleLineText As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class CustomFieldServiceRelation Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property CustomFieldConfigId As Integer Public Overridable Property ServiceId As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class CustomFieldValue Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Value As String Public Overridable Property Active As Boolean Public Overridable Property SortOrder As Nullable(Of Short) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class DaysOfWeek Inherits BaseModel Public Overridable Property DayOfWeek As String Public Overridable Property DayOfWeekTranslation As String Public Overridable Property DayOfWeekActive As Nullable(Of Boolean) Public Overridable Property DayOfWeekSortOrder As Nullable(Of Short) Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer 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 Public Partial Class FreeSpotTexts Inherits BaseModel Public Overridable Property TextSingular As String Public Overridable Property TextPlural As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class HeroSectionStyle 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 Public Partial Class HomepageSetting Inherits BaseModel Implements ICompany Public Sub New() HomepageTemplateOptions = New List(Of HomepageTemplate) HomepageHeroSectionStyleOptions = New List(Of HeroSectionStyle) End Sub Public Overridable Property HomepageTemplateOptions As List(Of HomepageTemplate) Public Overridable Property HomepageHeroSectionStyleOptions As List(Of HeroSectionStyle) Public Overridable Property CompanyId As Nullable(Of Guid) Public Overridable Property WelcomePageHeading As String Public Overridable Property WelcomePageBody As String Public Overridable Property AboutUsPageHeading As String Public Overridable Property AboutUsPageBody As String Public Overridable Property HomePageTemplateId As Integer Public Overridable Property ImageUrl As String Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property HomepageHeading As String Public Overridable Property HeroSectionStyleId As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property ShowRating As Boolean Public Overridable Property EnableHomepage As Boolean Public Overridable Property Id As Guid End Class Public Partial Class HomepageTemplate Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property ImageUrl As Uri Public Overridable Property Premium As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class HomepageWidgetSetting Inherits BaseModel Public Sub New() WidgetServiceLayoutOptions = New List(Of WidgetServiceLayouts) WidgetTimeLayoutOptions = New List(Of WidgetTimeLayouts) WidgetBookingLayoutOptions = New List(Of WidgetBookingLayouts) WidgetBookingMethodOptions = New List(Of WidgetBookingMethods) End Sub Public Overridable Property WidgetServiceLayoutOptions As List(Of WidgetServiceLayouts) Public Overridable Property WidgetTimeLayoutOptions As List(Of WidgetTimeLayouts) Public Overridable Property WidgetBookingLayoutOptions As List(Of WidgetBookingLayouts) Public Overridable Property WidgetBookingMethodOptions As List(Of WidgetBookingMethods) Public Overridable Property ServiceLayoutId As Integer Public Overridable Property TimeLayoutId As Integer Public Overridable Property BookingLayoutId As Integer Public Overridable Property PrimaryColor As String Public Overridable Property ShowServiceImage As Boolean Public Overridable Property ShowNextAvailableTime As Boolean Public Overridable Property ShowEndTime As Boolean Public Overridable Property BookedTimeSlotText As String Public Overridable Property DarkTheme As Boolean Public Overridable Property ShowRebateCodeField As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property EnableCreateAccount As Boolean Public Overridable Property EnableLogin As Boolean Public Overridable Property EnableDirectBooking As Boolean Public Overridable Property EnableFacebookLogin As Boolean Public Overridable Property ShowSubscribeToNewsletter As Boolean Public Overridable Property Id As Guid End Class Public Interface IBaseModelCreated Property CreatedDate As Date End Interface Public Interface IBaseModelUpdated Property UpdatedDate As Date End Interface Public Partial Class License Inherits BaseModel Public Overridable Property Type As LicenseType Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property TypeId As Integer Public Overridable Property ValidFrom As Date Public Overridable Property ValidTo As Date Public Overridable Property Active As Boolean Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property MetaData As String End Class Public Partial Class LicensePrice Inherits BaseModel Public Overridable Property Country As Country Public Overridable Property MonthlyPayment As Boolean Public Overridable Property LicenseTypeId As Integer Public Overridable Property CountryId As String Public Overridable Property Price As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class LicenseType Inherits BaseModel Public Overridable Property LicenseItems As IList(Of LicenseTypeItem) Public Overridable Property Prices As IList(Of LicensePrice) Public Overridable Property PeriodOfNoticeDays As Integer Public Overridable Property NextLicenseOption As LicenseType Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property ExtraLicenseOption As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Active As Boolean Public Overridable Property Id As Integer End Class Public Partial Class LicenseTypeItem Inherits BaseModel Public Overridable Property Name As String Public Overridable Property LicenseType As LicenseType Public Overridable Property LicenseTypesId As Integer Public Overridable Property LicenseItemsId As Integer Public Overridable Property NumberOfItems As Integer Public Overridable Property Id As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class PayableEntity Inherits BaseModel Implements IPayableEntity Public Sub New() PaymentLog = New List(Of PaymentLog) Customers = New List(Of Customer) End Sub Public Overridable Property DbFactory As IDbConnectionFactory Public Overridable Property QvicklyPaymentManager As IBokameraPaymentManager(Of InitCheckoutRequestBody, QvicklyCheckoutResponse, QvicklyPaymentResponse) Public Overridable Property Payson2PaymentManager As IBokameraPaymentManager(Of Payson2CheckoutResponse, Payson2CheckoutResponse, Payson2CheckoutResponse) Public Overridable Property PaysonPaymentCheckout1 As IPaysonPaymentCheckout1 Public Overridable Property Logger As ILogger(Of PayableEntity) Public Overridable Property InternalReferenceId As String Public Overridable Property PaymentLog As List(Of PaymentLog) Public Overridable Property CompanyId As Guid Public Overridable Property PriceVat As Nullable(Of Decimal) Public Overridable Property CurrencyId As String Public Overridable Property Customer As Customer Public Overridable Property Customers As List(Of Customer) Public Overridable Property Company As Company End Class Public Partial Class PaymentDetails Inherits BaseModel Implements IBaseModelCreated Implements IBaseModelUpdated Public Overridable Property QvicklyCheckoutSerialized As QvicklyCheckoutResponse Public Overridable Property Payson2CheckoutSerialized As Payson2CheckoutResponse Public Overridable Property CompanyId As Guid Public Overridable Property InternalReferenceId As String Public Overridable Property ArticleTypeId As Integer Public Overridable Property ExternalResponseData As String Public Overridable Property ExternalResponseReference As String Public Overridable Property PaymentProviderId As Integer Public Overridable Property CreatedDate As Date Public Overridable Property UpdatedDate As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class PaymentLog Inherits BaseModel Public Overridable Property CurrencyId As String Public Overridable Property CurrencyInfo As Currency Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property InternalReferenceId As String Public Overridable Property ArticleTypeId As Integer Public Overridable Property PaymentReferenceId As String Public Overridable Property PaymentProviderId As Nullable(Of Integer) Public Overridable Property OrderItemReferenceId As String Public Overridable Property Amount As Nullable(Of Double) Public Overridable Property VAT As Nullable(Of Decimal) Public Overridable Property AmountCredited As Nullable(Of Double) Public Overridable Property Comments As String Public Overridable Property Created As Date Public Overridable Property Updated As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class PaymentProviders Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Category As String Public Overridable Property Url As String Public Overridable Property Active As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class PaymentSetting Inherits BaseModel Public Sub New() AdminPaymentOptions = New List(Of AdminPaymentOptions) PaymentProviderOptions = New List(Of PaymentProviders) End Sub Public Overridable Property AdminPaymentOption As AdminPaymentOptions Public Overridable Property AdminPaymentOptions As List(Of AdminPaymentOptions) Public Overridable Property PaymentProviderOptions As List(Of PaymentProviders) Public Overridable Property Enabled As Boolean Public Overridable Property InvoiceFee As Integer Public Overridable Property AllowCreditCardPayment As Boolean Public Overridable Property AllowInvoicePayment As Boolean Public Overridable Property AllowBankPayment As Boolean Public Overridable Property GuaranteeOffered As Boolean Public Overridable Property RefundOnCancelBooking As Boolean Public Overridable Property DefaultPaymentOptionId As Nullable(Of Integer) Public Overridable Property PaymentProviderId As Integer Public Overridable Property SendPaymentRequestDirectly As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Guid End Class Public Partial Class PriceMapping Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property Id As Guid Public Overridable Property ServicePriceId As Integer Public Overridable Property ReferenceType As String Public Overridable Property ExternalReference As String Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class Rating Inherits BaseModel Public Overridable Property ReviewId As Nullable(Of Guid) Public Overridable Property Review As Review Public Overridable Property CompanyId As Guid Public Overridable Property BookingId As Integer Public Overridable Property RatingScore As Integer 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) End Class Public Partial Class RebateCode Inherits PayableEntity Public Sub New() Services = New List(Of Service) RebateCodeDayOfWeekRelation = New List(Of RebateCodeDayOfWeekRelation) RebateCodeServiceRelation = New List(Of RebateCodeServiceRelation) RebateCodeBookingPriceRelation = New List(Of RebateCodeBookingPriceRelation) RebateCodeCustomerRelation = New List(Of RebateCodeCustomerRelation) DaysOfWeek = New List(Of DaysOfWeek) Transactions = New List(Of RebateCodeTransaction) End Sub Public Overridable Property RebateCodeTypeId As Integer Public Overridable Property RebateCodeTypeInfo As RebateCodeType Public Overridable Property RebateCodeStatusId As Integer Public Overridable Property RebateCodeStatusInfo As RebateCodeStatus Public Overridable Property Article As Article Public Overridable Property Services As List(Of Service) Public Overridable Property RebateCodeDayOfWeekRelation As List(Of RebateCodeDayOfWeekRelation) Public Overridable Property RebateCodeServiceRelation As List(Of RebateCodeServiceRelation) Public Overridable Property RebateCodeBookingPriceRelation As List(Of RebateCodeBookingPriceRelation) Public Overridable Property RebateCodeCustomerRelation As List(Of RebateCodeCustomerRelation) Public Overridable Property ServicesNames As String Public Overridable Property DaysOfWeek As List(Of DaysOfWeek) Public Overridable Property RebateCodeStatus As RebateCodeStatus Public Overridable Property RebateCodeType As RebateCodeType Public Overridable Property Transactions As List(Of RebateCodeTransaction) Public Overridable Property RemainingAmount As Nullable(Of Double) Public Overridable Property RemainingUsage As Nullable(Of Integer) Public Overridable Property CurrentNumberOfUsesPerCustomer As Integer Public Overridable Property IsSpecificByDayOfWeek As Boolean Public Overridable Property Active As Boolean Public Overridable Property ActiveByStatus As Boolean Public Overridable Property RebateCodeCurrencySign As String Public Overridable Property CurrencyInfo As Currency Public Overridable Property PaymentReceived As Boolean Public Overridable Property InternalReferenceId As String Public Overridable Property ValidFrom As Date Public Overridable Property ValidTo As Date Public Overridable Property RebateCodeSign As String Public Overridable Property RebateCodeValue As Integer Public Overridable Property MaxNumberOfUses As Integer Public Overridable Property MaxNumberOfUsesPerCustomer As Integer Public Overridable Property NumberOfUsesUsed As Integer Public Overridable Property PersonalNote As String Public Overridable Property CreatedBy As String Public Overridable Property Created As Date Public Overridable Property UpdatedBy As String Public Overridable Property UpdatedDate As Date Public Overridable Property FromTime As TimeSpan Public Overridable Property ToTime As TimeSpan Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer Public Overridable Property ArticleId As Nullable(Of Integer) End Class Public Partial Class RebateCodeBookingPriceRelation Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property PriceId As Integer Public Overridable Property RebateCodeId As Integer Public Overridable Property Id As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class RebateCodeCustomerRelation Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property CustomerId As Guid Public Overridable Property RebateCodeId As Integer Public Overridable Property Id As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property RebateCodeEmailSentToCustomer As Boolean Public Overridable Property MessageToReceiver As String Public Overridable Property Buyer As Boolean End Class Public Partial Class RebateCodeDayOfWeekRelation Inherits BaseModel Public Overridable Property DayOfWeek As BokaMeraDayOfWeek Public Overridable Property DayOfWeekId As Integer Public Overridable Property RebateCodeId As Integer Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class RebateCodeServiceRelation Inherits BaseModel Public Overridable Property CompanyId As Guid Public Overridable Property ServiceId As Integer Public Overridable Property RebateCodeId As Integer Public Overridable Property Id As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) End Class Public Partial Class RebateCodeStatus 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 Public Partial Class RebateCodeTransaction Inherits BaseModel Implements IBaseModelCreated Implements IBaseModelUpdated Public Overridable Property Booking As Booking Public Overridable Property RebateCode As RebateCode Public Overridable Property Customer As Customer Public Overridable Property Id As Integer Public Overridable Property CompanyId As Guid Public Overridable Property Note As String Public Overridable Property RebateCodeId As Integer Public Overridable Property Amount As Double Public Overridable Property Usage As Integer Public Overridable Property BookingId As Nullable(Of Integer) Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date End Class Public Partial Class RebateCodeType 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 Public Partial Class RegEx Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property RegExCode As String Public Overridable Property ErrorMessage As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class Resource Inherits BaseModel Implements ICustomFieldTable Implements IBaseModelCreated Implements IBaseModelUpdated Public Overridable Property Priority As Integer Public Overridable Property Schedules As IList(Of ISchedule) Public Overridable Property Exceptions As IList(Of ITimeException) Public Overridable Property Bookings As IList(Of IBookedTime) Public Overridable Property CustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property CustomFieldsData As IList(Of CustomFieldDataResponse) Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Active As Boolean Public Overridable Property Description As String Public Overridable Property ImageUrl As String Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property Color As String Public Overridable Property Email As String Public Overridable Property MobilePhone As String Public Overridable Property EmailNotification As Nullable(Of Boolean) Public Overridable Property SMSNotification As Nullable(Of Boolean) Public Overridable Property SendSMSReminder As Boolean Public Overridable Property SendEmailReminder As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property AccessGroup As String Public Overridable Property TextField1 As String Public Overridable Property TextField2 As String Public Overridable Property TextField3 As String Public Overridable Property TextField4 As String Public Overridable Property TextField5 As String Public Overridable Property TextField6 As String Public Overridable Property TextField7 As String Public Overridable Property TextField8 As String Public Overridable Property TextField9 As String Public Overridable Property TextField10 As String Public Overridable Property TextField11 As String Public Overridable Property TextField12 As String Public Overridable Property TextField13 As String Public Overridable Property TextField14 As String Public Overridable Property TextField15 As String Public Overridable Property TextField16 As String Public Overridable Property TextField17 As String Public Overridable Property TextField18 As String Public Overridable Property TextField19 As String Public Overridable Property TextField20 As String End Class Public Partial Class ResourceType Inherits BaseModel Implements IBaseModelCreated Implements IBaseModelUpdated Public Sub New() Resources = New List(Of Resource) End Sub Public Overridable Property SelectableByUser As Boolean Public Overridable Property Resources As List(Of Resource) Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Active As Boolean Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) 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 Public Partial Class ScheduleView Inherits BaseModel Public Overridable Property Name As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class Service Inherits BaseModel Implements ICustomFieldTable Implements IBaseModelCreated Implements IBaseModelUpdated Public Sub New() ResourceTypes = New List(Of ResourceType) Prices = New List(Of ServicePrice) BookingStatusOptions = New List(Of BookingStatusOptions) Ratings = New List(Of Rating) End Sub Public Overridable Property ResourceTypes As List(Of ResourceType) Public Overridable Property Resources As IEnumerable(Of Resource) Public Overridable Property TotalPrice As TotalPriceInformation Public Overridable Property Prices As List(Of ServicePrice) Public Overridable Property BookingStatusOptions As List(Of BookingStatusOptions) Public Overridable Property IsGroupBooking As Boolean Public Overridable Property IsMultipleResource As Boolean Public Overridable Property Settings As BookingSettings Public Overridable Property PaymentSetting As PaymentSetting Public Overridable Property BookingCustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property CustomerCustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property CustomFieldsConfig As IList(Of CustomFieldConfig) Public Overridable Property CustomFieldsData As IList(Of CustomFieldDataResponse) Public Overridable Property Schedules As IList(Of ISchedule) Public Overridable Property CustomerActiveBookings As IList(Of Booking) Public Overridable Property ScheduleType As ScheduleType Public Overridable Property LastTimeToUnbookThreshold As TimeSpan Public Overridable Property LastTimeToBookThreshold As TimeSpan Public Overridable Property RatingScore As AverageRatingScore Public Overridable Property Ratings As List(Of Rating) Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Group As String Public Overridable Property Active As Boolean Public Overridable Property SortOrder As Integer Public Overridable Property PauseAfterBooking As Integer Public Overridable Property UnbookBeforeDays As Integer Public Overridable Property UnbookBeforeHours As Integer Public Overridable Property UnbookBeforeMinutes As Integer Public Overridable Property BookBeforeDays As Integer Public Overridable Property BookBeforeHours As Integer Public Overridable Property BookBeforeMinutes As Integer Public Overridable Property Duration As Nullable(Of Integer) Public Overridable Property DurationTypeId As Integer Public Overridable Property MinDuration As Nullable(Of Integer) Public Overridable Property MaxDuration As Nullable(Of Integer) Public Overridable Property DurationInterval As Nullable(Of Integer) Public Overridable Property TotalSpots As Nullable(Of Integer) Public Overridable Property ImageUrl As String Public Overridable Property ScheduleTypeId As Integer Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property OnlyVisibleByAdmin As Boolean Public Overridable Property MinNumberOfSpotsPerBooking As Integer Public Overridable Property MaxNumberOfSpotsPerBooking As Integer Public Overridable Property MinNumberOfResourcesToBook As Integer Public Overridable Property MaxNumberOfResourcesToBook As Integer Public Overridable Property IsPaymentEnabled As Boolean Public Overridable Property MaxPaymentTime As Integer Public Overridable Property LockSpotsToBooking As Boolean Public Overridable Property EnableBookingQueue As Boolean Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property BookingStatusId As Integer Public Overridable Property EnableCodeLockSync As Boolean Public Overridable Property EnableCustomerManualPayment As Boolean Public Overridable Property PriceViewTypeId As Nullable(Of Integer) Public Overridable Property TextField1 As String Public Overridable Property TextField2 As String Public Overridable Property TextField3 As String Public Overridable Property TextField4 As String Public Overridable Property TextField5 As String Public Overridable Property TextField6 As String Public Overridable Property TextField7 As String Public Overridable Property TextField8 As String Public Overridable Property TextField9 As String Public Overridable Property TextField10 As String Public Overridable Property TextField11 As String Public Overridable Property TextField12 As String Public Overridable Property TextField13 As String Public Overridable Property TextField14 As String Public Overridable Property TextField15 As String Public Overridable Property TextField16 As String Public Overridable Property TextField17 As String Public Overridable Property TextField18 As String Public Overridable Property TextField19 As String Public Overridable Property TextField20 As String Public Partial Class TotalPriceInformation Public Sub New() AppliedCodes = New List(Of AppliedRebateCodes) End Sub Public Overridable Property TotalPrice As Double Public Overridable Property TotalVATAmount As Double Public Overridable Property TotalRebate As Double Public Overridable Property TotalPriceBeforeRebate As Double Public Overridable Property AppliedCodes As List(Of AppliedRebateCodes) Public Overridable Property PriceSign As String Public Overridable Property CurrencyId As String Public Overridable Property VAT As Decimal End Class Public Partial Class AppliedRebateCodes Public Overridable Property RebateCodeId As Integer Public Overridable Property RebateCodeSign As String Public Overridable Property RebateCodeValue As Integer Public Overridable Property RebateAmount As Double Public Overridable Property RebateCodeType As RebateCodeType End Class End Class Public Partial Class ServicePrice Inherits BaseModel Implements IInterval Public Sub New() PriceMappings = New List(Of PriceMapping) DayOfWeeks = New List(Of ServicePriceDayOfWeekRelation) RebateCodesApplied = New List(Of RebateCode) OverlappingPrices = New List(Of ServicePrice) End Sub Public Overridable Property CurrencyId As String Public Overridable Property CurrencyInfo As Currency Public Overridable Property Service As Service Public Overridable Property PriceMappings As List(Of PriceMapping) Public Overridable Property isTimeSpecific As Boolean Public Overridable Property isDaysOfWeekSpecific As Boolean Public Overridable Property DayOfWeeks As List(Of ServicePriceDayOfWeekRelation) Public Overridable Property PriceBeforeRebate As Nullable(Of Double) Public Overridable Property RebateCodesApplied As List(Of RebateCode) Public Overridable Property PriceText As String Public Overridable Property OverlappingPrices As List(Of ServicePrice) Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property ServiceId As Integer Public Overridable Property Price As Nullable(Of Double) Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property FromTime As TimeSpan Public Overridable Property ToTime As TimeSpan Public Overridable Property VAT As Decimal Public Overridable Property Category As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property From As Date Public Overridable Property To As Date Public Overridable Property CalculationTypeId As Integer End Class Public Partial Class ServicePriceDayOfWeekRelation Inherits BaseModel Public Overridable Property DayOfWeek As BokaMeraDayOfWeek Public Overridable Property CompanyId As Guid Public Overridable Property ServicePriceId As Integer Public Overridable Property DayOfWeekId As Integer Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class WeekNumberSetting 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 Public Partial Class WidgetBookingLayouts Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Code As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class WidgetBookingMethods Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Code As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class WidgetServiceLayouts Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Code As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Integer End Class Public Partial Class WidgetTimeLayouts Inherits BaseModel Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Code 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 BookedCustomer Public Overridable Property Id As Guid Public Overridable Property Firstname As String Public Overridable Property Lastname As String Public Overridable Property Email As String Public Overridable Property Phone As String Public Overridable Property FacebookUserName As String Public Overridable Property ImageUrl As String Public Overridable Property CorporateIdentityNumber As String Public Overridable Property InvoiceAddress1 As String Public Overridable Property InvoiceAddress2 As String Public Overridable Property InvoiceCity As String Public Overridable Property InvoicePostalCode As String Public Overridable Property InvoiceCountryCode As String End Class Public Partial Class BookedResource Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Color As String Public Overridable Property ImageUrl As Uri Public Overridable Property Email As String Public Overridable Property MobilePhone As String Public Overridable Property AccessGroup As String Public Overridable Property EmailNotification As Boolean Public Overridable Property SMSNotification As Boolean Public Overridable Property EmailReminder As Boolean Public Overridable Property SMSReminder As Boolean End Class Public Partial Class BookedResourceType Public Sub New() Resources = New List(Of BookedResource) End Sub ''' '''The resource type id ''' Public Overridable Property Id As Integer ''' '''The resource type name ''' Public Overridable Property Name As String ''' '''The resources inside resource type ''' Public Overridable Property Resources As List(Of BookedResource) End Class Public Partial Class CustomFieldDataResponse Public Overridable Property Id As Integer Public Overridable Property Column As String Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Value As String ''' '''Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' ''' Public Overridable Property DataType As String End Class Public Partial Class CustomFieldLookupResponse Public Overridable Property Id As Nullable(Of Integer) Public Overridable Property Active As Nullable(Of Boolean) Public Overridable Property SortOrder As Nullable(Of Integer) Public Overridable Property Value As String End Class Public Partial Class CustomFieldQuery Inherits QueryDb(Of CustomFieldConfig, CustomFieldQueryResponse) Implements IReturn(Of QueryResponse(Of CustomFieldQueryResponse)) Implements ICompany ''' '''One or multiple id's of custom fields to find ''' Public Overridable Property Ids As Integer() ''' '''Company id to find custom fields for ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''Table to which the custom field belongs to ''' Public Overridable Property Table As String ''' '''Active or removed fields, empty parameter includes both ''' Public Overridable Property Active As Nullable(Of Boolean) ''' '''If you want to include the custom fields values to select from when using dropdown as datatype ''' Public Overridable Property IncludeCustomFieldValues As Boolean ''' '''If you want to include the connected services for the custom field ''' Public Overridable Property IncludeConnectedServices As Boolean End Class Public Partial Class CustomFieldQueryResponse Public Sub New() Values = New List(Of CustomFieldLookupResponse) Services = New List(Of CustomFieldServices) End Sub ''' '''Custom field id ''' Public Overridable Property Id As Integer ''' '''Reference to company that owns the custom field configuration ''' Public Overridable Property CompanyId As Guid ''' '''Group id ''' Public Overridable Property GroupId As Nullable(Of Integer) ''' '''Field id ''' Public Overridable Property FieldId As Integer ''' '''Configuration name. Example: 'Number of persons'. ''' Public Overridable Property Name As String ''' '''Field width. Example: 20 ''' Public Overridable Property Width As Integer ''' '''Column in database where to store the information. Example: 'TextField1' ''' Public Overridable Property Column As String ''' '''Custom field description. Example: 'For how many persons is this booking?' ''' Public Overridable Property Description As String ''' '''Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' ''' Public Overridable Property DataType As String ''' '''Default value of the field. Example: '3' ''' Public Overridable Property DefaultValue As String ''' '''Determines if the field is required to have a value or not ''' Public Overridable Property IsMandatory As Boolean ''' '''Error message shown to the user if the field data is required but not entered ''' Public Overridable Property MandatoryErrorMessage As String ''' '''Max lenght of the field ''' Public Overridable Property MaxLength As Integer ''' '''If the field should have multiple lines ''' Public Overridable Property MultipleLineText As Boolean ''' '''Regular expression used for validation of the field ''' Public Overridable Property RegEx As String ''' '''Regular expression id for validation of the field ''' Public Overridable Property RegExId As Nullable(Of Integer) ''' '''Error message shown if the regular expression validation failed ''' Public Overridable Property RegExErrorMessage As String ''' '''If the field is visible to the customer ''' Public Overridable Property IsPublic As Boolean ''' '''If the field should be hidden in lists '''