2020-10-22 14:59:36 +08:00
|
|
|
|
using System.ComponentModel;
|
2018-04-13 16:18:30 +08:00
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Repository.Core
|
|
|
|
|
{
|
2017-12-08 23:31:52 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 树状结构实体
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// </summary>
|
2021-03-13 16:21:56 +08:00
|
|
|
|
public abstract class TreeEntity: StringEntity
|
2018-04-13 16:18:30 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 节点语义ID
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("节点语义ID")]
|
|
|
|
|
public string CascadeId { get; set; }
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 功能模块名称
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("名称")]
|
|
|
|
|
public string Name { get; set; }
|
2018-04-13 16:18:30 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 父节点流水号
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("父节点流水号")]
|
|
|
|
|
public string ParentId { get; set; }
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 父节点名称
|
2018-04-13 16:18:30 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("父节点名称")]
|
|
|
|
|
public string ParentName { get; set; }
|
|
|
|
|
|
2018-04-13 16:18:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|