13 lines
546 B
C#
13 lines
546 B
C#
|
|
namespace GestionIntegral.Api.Dtos
|
||
|
|
{
|
||
|
|
public class LoginResponseDto
|
||
|
|
{
|
||
|
|
public string Token { get; set; } = string.Empty; // El token JWT
|
||
|
|
public int UserId { get; set; }
|
||
|
|
public string Username { get; set; } = string.Empty;
|
||
|
|
public string NombreCompleto { get; set; } = string.Empty;
|
||
|
|
public bool EsSuperAdmin { get; set; }
|
||
|
|
public bool DebeCambiarClave { get; set; } // Para el primer login
|
||
|
|
// Se puede añadir más info si se necesita inmediatamente en el frontend (ej: IdPerfil)
|
||
|
|
}
|
||
|
|
}
|