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