2026-08-21 19:27:59 +00:00
|
|
|
|
using System;
|
2026-06-10 09:19:57 +00:00
|
|
|
|
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; } = [];
|
|
|
|
|
|
}
|