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
654 B

3 years ago
namespace Identity.Api.Clean.Contracts.Inputs;
public class UpdatePermissionsInput
{
/// <summary>
/// 提供者名称
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// 提供者Key
/// </summary>
public Guid ProviderKey { get; set; }
/// <summary>
/// 权限信息
/// </summary>
public UpdatePermissionDto[] Permissions { get; set; }
}
public class UpdatePermissionDto
{
/// <summary>
/// 权限名称
/// </summary>
public string PermissionName { get; set; }
/// <summary>
/// 是否生效
/// </summary>
public bool IsGranted { get; set; }
}