using Newtonsoft.Json;
namespace ZhonTai.Admin.Services.Auth.Dto;
public class AuthUserMenuDto
{
///
/// 权限Id
///
public long Id { get; set; }
///
/// 父级节点
///
public long ParentId { get; set; }
///
/// 路由地址
///
public string Path { get; set; }
///
/// 路由命名
///
public string Name { get; set; }
///
/// 视图地址
///
public string ViewPath { get; set; }
///
/// 重定向地址
///
public string Redirect { get; set; }
///
/// 权限名称
///
public string Label { get; set; }
///
/// 图标
///
public string Icon { get; set; }
///
/// 打开
///
public bool? Opened { get; set; }
///
/// 隐藏
///
public bool Hidden { get; set; }
///
/// 打开新窗口
///
public bool? NewWindow { get; set; }
///
/// 链接外显
///
public bool? External { get; set; }
///
/// 是否缓存
///
public bool IsKeepAlive { get; set; } = true;
///
/// 是否固定
///
public bool IsAffix { get; set; } = false;
///
/// 链接地址
///
public string Link { get; set; }
///
/// 是否内嵌窗口
///
public bool IsIframe { get; set; } = false;
///
/// 排序
///
[JsonIgnore]
public int? Sort { get; set; }
}