You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
721 B

namespace IdentityServer.DDD.Shared.ValueObjects;
public class PermissionValueObject
{
/// <summary>
/// 子权限
/// </summary>
public List<PermissionValueObject> Children { get; set; }
/// <summary>
/// 权限的唯一名称。
/// </summary>
public string PermissionName { get; set; }
/// <summary>
/// 描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 是否启用
/// </summary>
public bool IsEnabled { get; set; }
/// <summary>
/// 显示名称
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// 是否生效
/// </summary>
public bool IsGranted { get; set; }
}