using Admin.NET.Application.Const;
using Admin.NET.Core;
using SqlSugar;
using System.Collections.Generic;
namespace Admin.NET.Application.Entity
{
///
/// 多库代码生成树形测试表
///
[SugarTable("d_treetest", "多库代码生成树形测试表")]
[SqlSugarEntity(DbConfigId = TestConst.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; }
}
}