/* Options: Date: 2025-01-08 03:50:31 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: UpdateSignup.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using BlazorDiffusion.ServiceModel; namespace BlazorDiffusion.ServiceModel { public partial class Signup : StatBase { public virtual int Id { get; set; } public virtual SignupType Type { get; set; } public virtual string Email { get; set; } public virtual string Name { get; set; } public virtual DateTime? CancelledDate { get; set; } } public enum SignupType { Updates, Beta, } public partial class StatBase { public virtual string RefId { get; set; } public virtual int? AppUserId { get; set; } public virtual string RawUrl { get; set; } public virtual string RemoteIp { get; set; } public virtual DateTime CreatedDate { get; set; } } [ValidateRequest("HasRole(`Moderator`)")] public partial class UpdateSignup : IReturn, IPatchDb { public virtual int Id { get; set; } public virtual SignupType? Type { get; set; } [Validate("Email")] public virtual string Email { get; set; } public virtual string Name { get; set; } public virtual DateTime? CancelledDate { get; set; } } }