25 lines
743 B
C#
25 lines
743 B
C#
namespace line_gestao_api.Dtos;
|
|
|
|
public class SystemTenantListItemDto
|
|
{
|
|
public Guid TenantId { get; set; }
|
|
public string NomeOficial { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class CreateSystemTenantUserRequest
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
public List<string> Roles { get; set; } = new();
|
|
public bool ClientCredentialsOnly { get; set; }
|
|
}
|
|
|
|
public class SystemTenantUserCreatedDto
|
|
{
|
|
public Guid UserId { get; set; }
|
|
public Guid TenantId { get; set; }
|
|
public string Email { get; set; } = string.Empty;
|
|
public IReadOnlyList<string> Roles { get; set; } = Array.Empty<string>();
|
|
}
|