using Admin.Core.Model.Admin; using Newtonsoft.Json; using System.Collections.Generic; namespace Admin.Core.Service.Admin.Permission.Output { public class PermissionDataOutput { /// /// 租户Id /// public long? TenantId { get; set; } /// /// 权限Id /// public long Id { get; set; } /// /// 父级节点 /// public long ParentId { get; set; } /// /// 权限名称 /// public string Label { get; set; } /// /// 权限编码 /// public string Code { get; set; } /// /// 权限类型 /// public PermissionType Type { get; set; } /// /// 视图 /// public long? ViewId { get; set; } /// /// 接口 /// public long? ApiId { get; set; } /// /// 访问地址 /// public string Path { get; set; } /// /// 图标 /// public string Icon { get; set; } /// /// 接口路径 /// public string ApiPath { get; set; } /// /// 可关闭 /// public bool? Closable { get; set; } /// /// 组打开 /// public bool? Opened { get; set; } /// /// 打开新窗口 /// public bool? NewWindow { get; set; } /// /// 链接外显 /// public bool? External { get; set; } /// /// 隐藏 /// public bool Hidden { get; set; } /// /// 排序 /// public int? Sort { get; set; } /// /// 启用 /// public bool Enabled { get; set; } /// /// 描述 /// public string Description { get; set; } public List Childs { get; set; } } }