' Options: 'Date: 2025-04-04 17:12:56 'Version: 5.140 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.clubmanagercentral.com ' '''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: FindMembership.* '''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 ClubManager.Api.Services.Query Namespace Global Namespace ClubManager.Api.Services.Query Public Partial Class FindMembership Inherits QueryDb(Of MembershipInstance) Implements IReturn(Of QueryResponse(Of MembershipInstance)) End Class Public Partial Class LossReasonInstance Public Overridable Property LossReasonId As Integer Public Overridable Property Reason As String Public Overridable Property Deleted As Boolean Public Overridable Property Demo As Boolean Public Overridable Property Selectable As Boolean End Class Public Partial Class MemberInstance Public Sub New() Photo = New Byte(){} End Sub Public Overridable Property MemberId As Integer Public Overridable Property MemberType As Integer Public Overridable Property MembershipNumber As String Public Overridable Property CardNumber As String Public Overridable Property CompanyName As String Public Overridable Property Surname As String Public Overridable Property Forenames As String Public Overridable Property Title As String Public Overridable Property Gender As Integer Public Overridable Property DateOfBirth As Nullable(Of Date) Public Overridable Property Address1 As String Public Overridable Property Address2 As String Public Overridable Property City As String Public Overridable Property County As String Public Overridable Property Postcode As String Public Overridable Property HomePhone As String Public Overridable Property MobilePhone As String Public Overridable Property EmailAddress As String Public Overridable Property EmailOptOut As Boolean Public Overridable Property SmsOptOut As Boolean Public Overridable Property PhoneOptOut As Boolean Public Overridable Property LetterOptOut As Boolean Public Overridable Property DirectDebitAccountHolder As String Public Overridable Property DirectDebitAccountNumber As String Public Overridable Property DirectDebitSortCode As String Public Overridable Property JoinedDate As Nullable(Of Date) Public Overridable Property DirectDebitBankAddress As String Public Overridable Property FullName As String Public Overridable Property ExternalReference As String Public Overridable Property Photo As Byte() Public Overridable Property PhotoModifiedDate As Nullable(Of Date) Public Overridable Property Notes As String Public Overridable Property Deleted As Boolean Public Overridable Property Demo As Boolean Public Overridable Property UseExternalStatus As Boolean Public Overridable Property ExternalStatus As Integer Public Overridable Property FreeText As String Public Overridable Property MemberKey As Nullable(Of Guid) Public Overridable Property Balance As Decimal Public Overridable Property CreditLimit As Decimal Public Overridable Property CreatedDate As Date Public Overridable Property ModifiedDate As Nullable(Of Date) Public Overridable Property DeletedDate As Nullable(Of Date) Public Overridable Property ExternalSource As Integer Public Overridable Property RetentionMetric As Nullable(Of Decimal) Public Overridable Property MonthlyAttendanceFrequency As Nullable(Of Decimal) Public Overridable Property AssignedToUserId As Nullable(Of Integer) Public Overridable Property CreatedByUserId As Nullable(Of Integer) Public Overridable Property DeletedByUserId As Nullable(Of Integer) Public Overridable Property LossReason As LossReasonInstance Public Overridable Property LossReasonId As Nullable(Of Integer) Public Overridable Property WonOrLost As Nullable(Of Integer) Public Overridable Property WonOrLostDate As Nullable(Of Date) Public Overridable Property GiftAidPermission As Boolean Public Overridable Property PhotoPermission As Nullable(Of Boolean) Public Overridable Property FirstAidPermission As Nullable(Of Boolean) Public Overridable Property EmergencyContact As String Public Overridable Property WonOrLostByUser As UserInstance Public Overridable Property WonOrLostByUserId As Nullable(Of Integer) Public Overridable Property AgreedToTerms As Nullable(Of Date) Public Overridable Property OnlineBookingBanned As Boolean Public Overridable Property Country As String Public Overridable Property FingerprintEnrolled As Nullable(Of Date) Public Overridable Property LastPaymentAmount As Nullable(Of Decimal) Public Overridable Property Pin As String Public Overridable Property ProspectingPoints As Integer Public Overridable Property AchievementPoints As Integer Public Overridable Property ParentForenames As String Public Overridable Property ParentSurname As String End Class Public Partial Class MembershipInstance Public Overridable Property MembershipId As Integer Public Overridable Property StartDate As Date Public Overridable Property EndDate As Date Public Overridable Property ContractEndDate As Date Public Overridable Property Name As String Public Overridable Property EnrolmentFee As Decimal Public Overridable Property InductionFee As Decimal Public Overridable Property MembershipFee As Nullable(Of Decimal) Public Overridable Property DirectDebitPayment As Nullable(Of Decimal) Public Overridable Property DirectDebitDate As Nullable(Of Date) Public Overridable Property Member As MemberInstance Public Overridable Property MemberId As Integer Public Overridable Property RefererMemberId As Nullable(Of Integer) Public Overridable Property PromotionId As Nullable(Of Integer) Public Overridable Property Payment1Fee As Nullable(Of Decimal) Public Overridable Property Payment1Date As Nullable(Of Date) Public Overridable Property Payment2Fee As Nullable(Of Decimal) Public Overridable Property Payment2Date As Nullable(Of Date) Public Overridable Property Payment1Type As Integer Public Overridable Property Payment1Method As Integer Public Overridable Property Payment2Type As Integer Public Overridable Property Payment2Method As Integer Public Overridable Property Payment3Type As Integer Public Overridable Property Payment3Method As Integer Public Overridable Property Payment3Fee As Nullable(Of Decimal) Public Overridable Property Payment3Date As Nullable(Of Date) Public Overridable Property MembershipType As MembershipTypeInstance Public Overridable Property MembershipTypeId As Nullable(Of Integer) Public Overridable Property ProviderId As Nullable(Of Integer) Public Overridable Property Definition As String Public Overridable Property HasRecurringPayments As Boolean Public Overridable Property Deleted As Boolean Public Overridable Property Demo As Boolean Public Overridable Property MembershipKey As Nullable(Of Guid) Public Overridable Property SessionsRemaining As Nullable(Of Integer) Public Overridable Property ClassesRemaining As Nullable(Of Integer) Public Overridable Property Cancelled As Nullable(Of Date) Public Overridable Property APICreated As Nullable(Of Date) Public Overridable Property SuspensionStart As Nullable(Of Date) Public Overridable Property SuspensionEnd As Nullable(Of Date) Public Overridable Property IpAddress As String End Class Public Partial Class MembershipTypeInstance Public Overridable Property MembershipTypeId As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Definition As String Public Overridable Property Schedule As ScheduleInstance Public Overridable Property ScheduleId As Integer Public Overridable Property Deleted As Boolean Public Overridable Property Demo As Boolean Public Overridable Property Public As Boolean Public Overridable Property SessionsRemaining As Nullable(Of Integer) Public Overridable Property ClassesRemaining As Nullable(Of Integer) Public Overridable Property SortOrder As Nullable(Of Integer) Public Overridable Property Special As Boolean Public Overridable Property MultiSiteAccess As Boolean Public Overridable Property MemberLimit As Integer Public Overridable Property PromotionCode As String Public Overridable Property PromotionStart As Nullable(Of Date) Public Overridable Property PromotionEnd As Nullable(Of Date) Public Overridable Property LicensesRemaining As Nullable(Of Integer) Public Overridable Property BookingAccessOnly As Boolean Public Overridable Property SessionsPeriod As Nullable(Of Integer) Public Overridable Property SessionsFrequency As Nullable(Of Integer) Public Overridable Property StartsOn As Nullable(Of Date) Public Overridable Property AllowSelectionAfterStartsOn As Boolean End Class Public Partial Class ScheduleInstance Public Overridable Property ScheduleId As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property MondayFrom As Nullable(Of TimeSpan) Public Overridable Property MondayTo As Nullable(Of TimeSpan) Public Overridable Property TuesdayFrom As Nullable(Of TimeSpan) Public Overridable Property TuesdayTo As Nullable(Of TimeSpan) Public Overridable Property WednesdayFrom As Nullable(Of TimeSpan) Public Overridable Property WednesdayTo As Nullable(Of TimeSpan) Public Overridable Property ThursdayFrom As Nullable(Of TimeSpan) Public Overridable Property ThursdayTo As Nullable(Of TimeSpan) Public Overridable Property FridayFrom As Nullable(Of TimeSpan) Public Overridable Property FridayTo As Nullable(Of TimeSpan) Public Overridable Property SaturdayFrom As Nullable(Of TimeSpan) Public Overridable Property SaturdayTo As Nullable(Of TimeSpan) Public Overridable Property SundayFrom As Nullable(Of TimeSpan) Public Overridable Property SundayTo As Nullable(Of TimeSpan) Public Overridable Property ScheduleType As Integer Public Overridable Property Deleted As Boolean Public Overridable Property Demo As Boolean End Class Public Partial Class UserInstance Public Overridable Property UserId As Integer Public Overridable Property UserName As String Public Overridable Property Name As String Public Overridable Property Email As String Public Overridable Property MobilePhone As String Public Overridable Property Enabled As Boolean Public Overridable Property LastLogin As Nullable(Of Date) Public Overridable Property Created As Date Public Overridable Property Training As Boolean Public Overridable Property Deleted As Boolean Public Overridable Property CoursesCompleted As Integer Public Overridable Property DisplayHomeNotification As Nullable(Of Boolean) Public Overridable Property TwoFactorEnabled As Boolean Public Overridable Property EmailConfirmed As Boolean Public Overridable Property MobilePhoneConfirmed As Boolean Public Overridable Property Notifications As Boolean Public Overridable Property ChangePassword As Nullable(Of Date) Public Overridable Property Activated As Nullable(Of Date) End Class End Namespace End Namespace