using Admin.NET.Application.Const; namespace Admin.NET.Application.Entity; /// /// 多库代码生成树形测试表 /// [SugarTable(null, "多库代码生成树形测试表")] [Tenant(ApplicationConst.ConfigId)] public class TreeTest : EntityBase { /// /// 名称 /// public string Name { get; set; } /// /// 父级 /// public long ParentId { get; set; }//父级字段 /// /// Child /// [SqlSugar.SugarColumn(IsIgnore = true)] public List Child { get; set; } }