把有些东西写到极致

This commit is contained in:
yubao
2017-12-08 23:31:52 +08:00
parent 9ae57bab41
commit 2c2e5cd179
9 changed files with 136 additions and 101 deletions

View File

@@ -0,0 +1,30 @@
using OpenAuth.Repository.Domain;
namespace OpenAuth.Repository.Core
{
/// <summary>
/// 树状结构实体
/// </summary>
public abstract class TreeEntity: Entity
{
/// <summary>
/// 父节点名称
/// </summary>
public string ParentId { get; set; }
/// <summary>
/// 父节点名称
/// </summary>
public string ParentName { get; set; }
/// <summary>
/// 节点语义ID
/// </summary>
public string CascadeId { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
}
}