/* Options: Date: 2024-12-22 21:11:14 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: CreateFileSystemItem.* //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 partial class CreateFileSystemItem : IReturn, ICreateDb, IFileItem { public virtual FileAccessType? FileAccessType { get; set; } public virtual FileSystemFile File { get; set; } } 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; } } }