using SqlSugar; using System.Collections.Generic; using System.ComponentModel; namespace Myshipping.Core.Entity; /// /// 文档表 /// [SugarTable("Documentation")] [Description("文档表")] public class Documentation : DEntityBase { /// /// 父Id /// public long PId { get; set; } /// /// 父ID列表 /// public string PIds { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 文档类型:文件、文件夹 /// public DocumentType DocumentType { get; set; } /// /// 文件后缀 /// public string FileSuffix { get; set; } /// /// 文件大小kb /// public int? FileSizeKb { get; set; } /// /// 文件路径 /// public string FilePath { get; set; } /// /// 存储后的文件名 /// public string FileObjectName { get; set; } /// /// 标签 /// public int? Label { get; set; } /// /// 备注 /// public string Remark { get; set; } [SqlSugar.SugarColumn(IsIgnore = true)] public List Children { get; set; } /// /// 是否可见 /// public bool Visible { get; set; } = true; }