28 lines
870 B
C#
28 lines
870 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Sozsoft.Platform.Identity.Dto;
|
|
|
|
public class PermissionGrantedUsersDto
|
|
{
|
|
public string Name { get; set; }
|
|
public string ParentName { get; set; }
|
|
public string DisplayName { get; set; }
|
|
public bool IsEnabled { get; set; }
|
|
public List<string> RoleNames { get; set; } = [];
|
|
public List<PermissionGrantedUserDto> Users { get; set; } = [];
|
|
}
|
|
|
|
public class PermissionGrantedUserDto
|
|
{
|
|
public Guid? TenantId { get; set; }
|
|
public Guid Id { get; set; }
|
|
public string UserName { get; set; }
|
|
public string Name { get; set; }
|
|
public string Surname { get; set; }
|
|
public string FullName { get; set; }
|
|
public string Email { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public bool IsDirectGrant { get; set; }
|
|
public List<string> RoleNames { get; set; } = [];
|
|
}
|