/* Options: Date: 2025-01-08 03:14:51 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: QueryArtifactStats.* //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 ArtifactStat : StatBase { public virtual int Id { get; set; } public virtual StatType Type { get; set; } public virtual int ArtifactId { get; set; } public virtual string Source { get; set; } public virtual string Version { get; set; } } [ValidateRequest("HasRole(`Moderator`)")] public partial class QueryArtifactStats : QueryDb, IReturn> { } 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; } } public enum StatType { Download, } }