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.
48 lines
937 B
C#
48 lines
937 B
C#
using DS.WMS.Core.System.Entity;
|
|
|
|
namespace DS.WMS.Core.System.Dtos;
|
|
|
|
public class PermissionItem
|
|
{
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string permissionName { get; set; }
|
|
/// <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; }
|
|
} |