using DocumentServiceAPI.Model.cyDocumentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DocumentServiceAPI.Application.DocManage.Dtos { public class FileInfo_List_Dto { public FileInfo_List_Dto() { } public FileInfo_List_Dto(File_Info file) { this.id = file.id; this.fileOldName = file.fileoldname; this.fileNewName = file.filenewname; this.filePath = file.filepath; this.isChange = false; this.filesize = file.filesize; this.sort = file.sort; this.suffix = file.suffix; } public int id { get; set; } public string fileOldName { get; set; } public string fileNewName { get; set; } public string filePath { get; set; } public bool isChange { get; set; } public long filesize { get; set; } public int sort { get; set; } /// /// 扩展名 /// public string suffix { get; set; } } }