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.
30 lines
649 B
30 lines
649 B
namespace PermissionManagement.Api.DDD.Contracts.Dtos;
|
|
|
|
public class GetPermissionListResultDto
|
|
{
|
|
public string ProviderName { get; set; }
|
|
|
|
public List<PermissionGroupDto> Groups { get; set; }
|
|
}
|
|
|
|
public class PermissionGroupDto
|
|
{
|
|
public string GroupName { get; set; }
|
|
|
|
public string DisplayName { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public List<PermissionGrantInfoDto> Permissions { get; set; }
|
|
}
|
|
public class PermissionGrantInfoDto
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public string DisplayName { get; set; }
|
|
|
|
public string ParentName { get; set; }
|
|
|
|
public bool IsGranted { get; set; }
|
|
|
|
}
|