using System; using System.Collections.Generic; namespace Permission.Service.DTO.ApiModels { public class NetDiskFile { public NetDiskFile() { ChildFiles = new List(); } public string FileId { get; set; } public string Name { get; set; } public string ParentId { get; set; } //0为文件夹 1为文件 public int FileType { get; set; } public int? TotalBytes { get; set; } public string DownloadPath { get; set; } public DateTime ModifiedTime { get; set; } public IEnumerable ChildFiles { get; set; } } public class BaseFile { public string FileId { get; set; } public string Name { get; set; } public string ParentId { get; set; } //0为文件夹 1为文件 public int FileType { get; set; } public int? TotalBytes { get; set; } public string DownloadPath { get; set; } public DateTime ModifiedTime { get; set; } } }