/* Options: Date: 2024-12-22 21:32:52 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //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: QueryFileSystemItems.* //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 MyApp.ServiceModel; namespace MyApp.ServiceModel { public enum FileAccessType { Public, Team, Private, } public partial class FileSystemFile : IFile { public virtual int Id { get; set; } public virtual string FileName { get; set; } public virtual string FilePath { get; set; } public virtual string ContentType { get; set; } public virtual long ContentLength { get; set; } [References(typeof(MyApp.ServiceModel.FileSystemItem))] public virtual int FileSystemItemId { get; set; } } public partial class FileSystemItem : IFileItem { public virtual int Id { get; set; } public virtual FileAccessType? FileAccessType { get; set; } public virtual FileSystemFile File { get; set; } public virtual string AppUserId { get; set; } } public partial interface IFile { int Id { get; set; } string FileName { get; set; } string FilePath { get; set; } string ContentType { get; set; } long ContentLength { get; set; } } public partial interface IFileItem { FileAccessType? FileAccessType { get; set; } } public partial class QueryFileSystemItems : QueryDb, IReturn> { public virtual int? AppUserId { get; set; } public virtual FileAccessType? FileAccessType { get; set; } } }