F1 - Autentcacion - Completa
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace vita_asistente.Models
|
||||
{
|
||||
public class ApplicationUser : IdentityUser
|
||||
{
|
||||
// Tus propiedades específicas:
|
||||
public string Nombre { get; set; } = string.Empty;
|
||||
public string Apellido { get; set; } = string.Empty;
|
||||
public string Documento { get; set; } = string.Empty;
|
||||
public string Direccion { get; set; } = string.Empty;
|
||||
|
||||
// Si quieres un rol por defecto para consultas rápidas (opcional):
|
||||
public string RolPrincipal { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace vita_asistente.Models
|
||||
{
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public string? RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user