phronCare/phronCare.API/Models/Seurity/ApplicationUser.cs

21 lines
609 B
C#
Raw Normal View History

2025-04-29 18:52:49 -03:00
using Microsoft.AspNetCore.Identity;
namespace phronCare.API.Models.Security
{
public class ApplicationUser : IdentityUser
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string? Address { get; set; }
public string? Department { get; set; }
public string? CompanyName { get; set; }
public DateTime? BirthDate { get; set; }
// Nuevo campo para imagen
public string? ProfileImageUrl { get; set; }
// Propiedad calculada
public string FullName => $"{FirstName} {LastName}";
}
}