/* Options: Date: 2025-04-04 18:19:01 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: MemberService.GetMemberByMembershipNumberRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ClubManager.Interfaces.Models.Member; using ClubManager.Interfaces.Models.Message; using ClubManager.Api.Services; namespace ClubManager.Interfaces.Models.Member { public enum ExternalStatus { Off, Active, Pending, CancelledInsideContract, CancelledOutsideContract, WithDebtRecovery, Suspended, } public enum Gender { Unknown, Male, Female, Other, PreferNotToSay, } public partial class Member { public virtual int MemberId { get; set; } public virtual int BranchId { get; set; } public virtual string MembershipNumber { get; set; } public virtual DateTime? JoinedDate { get; set; } public virtual string CardNumber { get; set; } public virtual string CompanyName { get; set; } public virtual Gender Gender { get; set; } public virtual string GenderName { get; set; } public virtual string FullName { get; set; } public virtual string Title { get; set; } public virtual string Forenames { get; set; } public virtual string Surname { get; set; } public virtual string Address1 { get; set; } public virtual string Address2 { get; set; } public virtual string County { get; set; } public virtual string City { get; set; } public virtual string HomePhone { get; set; } public virtual string MobilePhone { get; set; } public virtual string EmailAddress { get; set; } public virtual string ExternalReference { get; set; } public virtual string Country { get; set; } public virtual bool EmailOptOut { get; set; } public virtual bool SmsOptOut { get; set; } public virtual bool PhoneOptOut { get; set; } public virtual bool LetterOptOut { get; set; } public virtual bool UseExternalStatus { get; set; } public virtual ExternalStatus ExternalStatus { get; set; } public virtual DateTime? DateOfBirth { get; set; } public virtual string Postcode { get; set; } public virtual string Notes { get; set; } public virtual DateTime? StartDate { get; set; } public virtual DateTime? Expires { get; set; } public virtual int? SessionsRemaining { get; set; } public virtual DateTime? ContractEndDate { get; set; } public virtual int DaysRemaining { get; set; } public virtual string MembershipType { get; set; } public virtual DateTime? LastAttendance { get; set; } public virtual int Attendance { get; set; } public virtual MemberType MemberType { get; set; } public virtual int RecurringPayments { get; set; } public virtual int OverduePayments { get; set; } public virtual int AttendanceThisWeek { get; set; } public virtual decimal retentionMetric { get; set; } public virtual decimal MonthlyAttendanceFrequency { get; set; } public virtual decimal TotalProductSpend { get; set; } public virtual string JournalEntry { get; set; } public virtual decimal Balance { get; set; } public virtual decimal CreditLimit { get; set; } public virtual Guid guid { get; set; } public virtual MembershipState MembershipState { get; set; } public virtual int BookingsAttended { get; set; } public virtual DateTime? DateOfLastBooking { get; set; } public virtual DateTime? PhotoModifiedDate { get; set; } public virtual DateTime? CreatedDate { get; set; } public virtual DateTime? ModifiedDate { get; set; } public virtual DateTime? DeletedDate { get; set; } public virtual Guid MemberKey { get; set; } public virtual int CreatedByUserId { get; set; } public virtual int AssignedToUserId { get; set; } public virtual int DeletedByUserId { get; set; } public virtual bool GiftAidPermission { get; set; } public virtual bool FirstAidPermission { get; set; } public virtual bool PhotoPermission { get; set; } public virtual string EmergencyContact { get; set; } public virtual int? WonOrLost { get; set; } public virtual DateTime? WonOrLostDate { get; set; } public virtual int? WonOrLostByUserId { get; set; } public virtual string LicenseReference { get; set; } public virtual DateTime? LicenseStartDate { get; set; } public virtual DateTime? LicenseRenewalDate { get; set; } public virtual DateTime? AgreedToTerms { get; set; } public virtual bool OnlineBookingBanned { get; set; } public virtual int? ChildBranchId { get; set; } public virtual string ChildBranch { get; set; } public virtual int ProspectingPoints { get; set; } public virtual int AchievementPoints { get; set; } public virtual string ParentForenames { get; set; } public virtual string ParentSurname { get; set; } public virtual int GradingReadiness { get; set; } public virtual string DirectDebitAccountHolder { get; set; } public virtual string DirectDebitAccountNumber { get; set; } public virtual string DirectDebitSortCode { get; set; } public virtual string DirectDebitBankAddress { get; set; } public virtual DateTime? InvitedDate { get; set; } public virtual string Grade { get; set; } public virtual string ColourLeft { get; set; } public virtual string ColourRight { get; set; } public virtual int SessionsToComplete { get; set; } public virtual string UniqueId { get; set; } public virtual string PreferenceLink { get; set; } public virtual string MarketingAllLink { get; set; } public virtual string MarketingNoneLink { get; set; } public virtual string AppRegistrationId { get; set; } public virtual string AppRegistrationLink { get; set; } public virtual string AppQrImageLink { get; set; } public virtual string CardNumberQrImageLink { get; set; } public virtual string PhotoThumbnailLink { get; set; } public virtual MessageTemplateContentType ContentTypesOptIn { get; set; } public virtual MessageTemplateType TemplateTypesOptIn { get; set; } public virtual bool CanEmail { get; set; } public virtual bool CanDirectMail { get; set; } public virtual bool CanSMS { get; set; } public virtual bool CanTelephone { get; set; } public virtual bool NoMarketingConsent { get; set; } public virtual bool CanSendInvite { get; set; } public virtual Guid BranchKey { get; set; } public virtual string SageLink { get; set; } public virtual DateTime? SageLastPaymentDate { get; set; } public virtual DateTime? SageFirstPaymentDate { get; set; } public virtual decimal? SageLastPaymentAmount { get; set; } public virtual decimal? SageFirstPaymentAmount { get; set; } public virtual decimal? SageTotalPaid { get; set; } } public enum MembershipState { Prospect, Active, Expired, Cancelled, PaymentRequired, Suspended, } public enum MemberType { Prospect, Active, Cancelled, Expired, Suspended, ClubCancelled, DropOut, } } namespace ClubManager.Interfaces.Models.Message { [Flags] public enum MessageTemplateContentType { Transactional = 1, Marketing = 2, None = 1048576, } [Flags] public enum MessageTemplateType { SMS = 1, Email = 2, Telephone = 4, DirectMail = 8, Notification = 16, Page = 32, None = 1048576, NoConsent = 2097152, } }