You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
661 B
C#

using System;
using System.Collections.Generic;
namespace Admin.Core.Model
{
/// <summary>
/// Tree基类
/// </summary>
public class TreeEntity
{
/// <summary>
/// 父菜单名称
/// </summary>
public string ParentName { get; set; }
/// <summary>
/// 父菜单ID
/// </summary>
public int ParentId { get; set; }
/// <summary>
/// 显示顺序
/// </summary>
public int? OrderNum { get; set; }
/// <summary>
/// 祖级列表
/// </summary>
public string Ancestors { get; set; }
/// <summary>
/// 子部门
/// </summary>
public List<TreeEntity> Children { get; set; } = new List<TreeEntity>();
}
}