17 lines
775 B
C#
17 lines
775 B
C#
|
|
namespace GestionIntegral.Api.Models
|
||
|
|
{
|
||
|
|
public class Usuario
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
public string User { get; set; } = string.Empty; // Renombrado de 'usuario' para evitar conflicto con la clase
|
||
|
|
public string ClaveHash { get; set; } = string.Empty; // Almacenará el HASH, no la clave
|
||
|
|
public string ClaveSalt { get; set; } = string.Empty; // Almacenará la SALT
|
||
|
|
public bool Habilitada { get; set; }
|
||
|
|
public bool SupAdmin { get; set; }
|
||
|
|
public string Nombre { get; set; } = string.Empty;
|
||
|
|
public string Apellido { get; set; } = string.Empty;
|
||
|
|
public int IdPerfil { get; set; }
|
||
|
|
public string VerLog { get; set; } = string.Empty;
|
||
|
|
public bool DebeCambiarClave { get; set; }
|
||
|
|
}
|
||
|
|
}
|