using BPA.SAAS.Manage.Comm.Enum;
using NPOI.SS.Formula.Functions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPA.SAAS.Manage.Application.System.Dtos
{
public class MenuTreeDtoOutput
{
public string Id { get; set; }
///
/// 父Id
///
public string Pid { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 编码
///
public string Code { get; set; }
///
/// 路径
///
public string Router { get; set; }
///
/// 状态
///
public CommonStatus Status { get; set; }
///
/// 图标
///
public string Icon { get; set; }
///
/// 创建时间
///
public DateTime? CreateAt { get; set; }
///
/// 排序号
///
public int Sort { get; set; }
///
/// 组件
///
public string Component { get; set; }
public string Type { get; set; }
public string TypeName { get; set; }
public int IsAdmin{ get; set; }
private List _Children;
public List Children
{
get { return _Children; }
set
{
_Children = value.Count == 0 ? null : value;
}
}
}
}