21 lines
609 B
C#
21 lines
609 B
C#
|
|
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}";
|
|||
|
|
}
|
|||
|
|
}
|