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.

55 lines
1010 B
C#

using DS.WMS.Core.Sys.Entity;
12 months ago
namespace DS.WMS.Core.Sys.Dtos;
12 months ago
public class PermissionItem
{
/// <summary>
/// ID
/// </summary>
11 months ago
public long Id { get; set; }
12 months ago
/// <summary>
///
/// </summary>
public string permissionName { get; set; }
/// <summary>
///
/// </summary>
public string permissionEnName { get; set; }
12 months ago
/// <summary>
///
/// </summary>
public string permissionId { get; set; }
/// <summary>
/// 角色ID
/// </summary>
public string roleId { get; set; }
public List<ChildItem> actionEntitySet { get; set; }
}
public class ChildItem
{
/// <summary>
///
/// </summary>
public string action { get; set; }
/// <summary>
///
/// </summary>
public string describe { get; set; }
/// <summary>
/// 是否有权限
/// </summary>
public bool defaultCheck { get; set; }
}
public class Permission : SysRole
{
public List<PermissionItem> permissions { get; set; }
}