/* Options: Date: 2025-04-04 16:50:46 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: FindJournal.* //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.Api.Services.Query; namespace ClubManager.Api.Services.Query { [Route("/api/Query/Journal")] [AutoQueryViewer(Description="", IconUrl="octicon:database", Title="Journal")] public partial class FindJournal : QueryDb, IReturn> { } public partial class JournalInstance { public virtual int JournalId { get; set; } public virtual DateTime JournalDate { get; set; } public virtual string Title { get; set; } public virtual string Comment { get; set; } public virtual int MessageType { get; set; } public virtual string UserName { get; set; } public virtual MemberInstance Member { get; set; } [References(typeof(ClubManager.Api.Services.Query.MemberInstance))] public virtual int MemberId { get; set; } public virtual MessageInstance Message { get; set; } [References(typeof(ClubManager.Api.Services.Query.MessageInstance))] public virtual int? MessageId { get; set; } public virtual DateTime? ViewedDate { get; set; } public virtual bool Deleted { get; set; } public virtual bool Demo { get; set; } public virtual bool Permanent { get; set; } public virtual DateTime? alertDate { get; set; } public virtual int? AssignedToUserId { get; set; } public virtual bool? Completed { get; set; } public virtual DateTime? CompletedDate { get; set; } public virtual int? CreatedByUserId { get; set; } public virtual int PostponedCount { get; set; } public virtual bool SendSMSReminder { get; set; } public virtual bool? NoShow { get; set; } } public partial class LossReasonInstance { public virtual int LossReasonId { get; set; } public virtual string Reason { get; set; } public virtual bool Deleted { get; set; } public virtual bool Demo { get; set; } public virtual bool Selectable { get; set; } } public partial class MemberInstance { public MemberInstance() { Photo = new byte[]{}; } public virtual int MemberId { get; set; } public virtual int MemberType { get; set; } public virtual string MembershipNumber { get; set; } public virtual string CardNumber { get; set; } public virtual string CompanyName { get; set; } public virtual string Surname { get; set; } public virtual string Forenames { get; set; } public virtual string Title { get; set; } public virtual int Gender { get; set; } public virtual DateTime? DateOfBirth { get; set; } public virtual string Address1 { get; set; } public virtual string Address2 { get; set; } public virtual string City { get; set; } public virtual string County { get; set; } public virtual string Postcode { get; set; } public virtual string HomePhone { get; set; } public virtual string MobilePhone { get; set; } public virtual string EmailAddress { 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 string DirectDebitAccountHolder { get; set; } public virtual string DirectDebitAccountNumber { get; set; } public virtual string DirectDebitSortCode { get; set; } public virtual DateTime? JoinedDate { get; set; } public virtual string DirectDebitBankAddress { get; set; } public virtual string FullName { get; set; } public virtual string ExternalReference { get; set; } public virtual byte[] Photo { get; set; } public virtual DateTime? PhotoModifiedDate { get; set; } public virtual string Notes { get; set; } public virtual bool Deleted { get; set; } public virtual bool Demo { get; set; } public virtual bool UseExternalStatus { get; set; } public virtual int ExternalStatus { get; set; } public virtual string FreeText { get; set; } public virtual Guid? MemberKey { get; set; } public virtual decimal Balance { get; set; } public virtual decimal CreditLimit { get; set; } public virtual DateTime CreatedDate { get; set; } public virtual DateTime? ModifiedDate { get; set; } public virtual DateTime? DeletedDate { get; set; } public virtual int ExternalSource { get; set; } public virtual decimal? RetentionMetric { get; set; } public virtual decimal? MonthlyAttendanceFrequency { get; set; } public virtual int? AssignedToUserId { get; set; } public virtual int? CreatedByUserId { get; set; } public virtual int? DeletedByUserId { get; set; } public virtual LossReasonInstance LossReason { get; set; } [References(typeof(ClubManager.Api.Services.Query.LossReasonInstance))] public virtual int? LossReasonId { get; set; } public virtual int? WonOrLost { get; set; } public virtual DateTime? WonOrLostDate { get; set; } public virtual bool GiftAidPermission { get; set; } public virtual bool? PhotoPermission { get; set; } public virtual bool? FirstAidPermission { get; set; } public virtual string EmergencyContact { get; set; } public virtual UserInstance WonOrLostByUser { get; set; } [References(typeof(ClubManager.Api.Services.Query.UserInstance))] public virtual int? WonOrLostByUserId { get; set; } public virtual DateTime? AgreedToTerms { get; set; } public virtual bool OnlineBookingBanned { get; set; } public virtual string Country { get; set; } public virtual DateTime? FingerprintEnrolled { get; set; } public virtual decimal? LastPaymentAmount { get; set; } public virtual string Pin { 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 partial class MessageInstance { public virtual int MessageId { get; set; } public virtual DateTime DueDate { get; set; } public virtual DateTime? SentDate { get; set; } public virtual bool Processed { get; set; } public virtual int Failures { get; set; } public virtual int? InstanceId { get; set; } public virtual string MessageSid { get; set; } public virtual MessageTemplateInstance MessageTemplate { get; set; } [References(typeof(ClubManager.Api.Services.Query.MessageTemplateInstance))] public virtual int? MessageTemplateId { get; set; } public virtual DateTime? OpenedDate { get; set; } public virtual DateTime? BouncedDate { get; set; } public virtual DateTime? DeliveredDate { get; set; } public virtual DateTime? UnsubscribedDate { get; set; } public virtual DateTime? SpamReportDate { get; set; } public virtual UserInstance User { get; set; } [References(typeof(ClubManager.Api.Services.Query.UserInstance))] public virtual int? UserId { get; set; } public virtual int? InstanceType { get; set; } } public partial class MessageTemplateInstance { public virtual int MessageTemplateId { get; set; } public virtual string Name { get; set; } public virtual string Subject { get; set; } public virtual string Body { get; set; } public virtual int? ReportId { get; set; } public virtual int TemplateType { get; set; } public virtual DateTime? Created { get; set; } public virtual int? CreatedBy { get; set; } public virtual DateTime? Modified { get; set; } public virtual int? ModifiedBy { get; set; } public virtual DateTime? Deleted { get; set; } public virtual int? DeletedBy { get; set; } public virtual int EventType { get; set; } public virtual int ContentType { get; set; } public virtual bool? Hidden { get; set; } public virtual int? ParentMessageTemplateId { get; set; } public virtual string InclusionTags { get; set; } public virtual string ExclusionTags { get; set; } } public partial class UserInstance { public virtual int UserId { get; set; } public virtual string UserName { get; set; } public virtual string Name { get; set; } public virtual string Email { get; set; } public virtual string MobilePhone { get; set; } public virtual bool Enabled { get; set; } public virtual DateTime? LastLogin { get; set; } public virtual DateTime Created { get; set; } public virtual bool Training { get; set; } public virtual bool Deleted { get; set; } public virtual int CoursesCompleted { get; set; } public virtual bool? DisplayHomeNotification { get; set; } public virtual bool TwoFactorEnabled { get; set; } public virtual bool EmailConfirmed { get; set; } public virtual bool MobilePhoneConfirmed { get; set; } public virtual bool Notifications { get; set; } public virtual DateTime? ChangePassword { get; set; } public virtual DateTime? Activated { get; set; } } }