2025-01-24 19:17:26 -03:00
|
|
|
|
namespace phronCare.API.Models.Account
|
|
|
|
|
|
{
|
|
|
|
|
|
public class UserUpdate
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
|
|
public string UserName { get; set; } = string.Empty;
|
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
|
|
public bool TwoFactorEnabled { get; set; }
|
|
|
|
|
|
public bool LockoutEnabled { get; set; }
|
2025-05-20 12:30:57 -03:00
|
|
|
|
public bool EmailConfirmed { get; set; }
|
2025-04-30 00:16:59 -03:00
|
|
|
|
|
|
|
|
|
|
// Nuevos campos
|
|
|
|
|
|
public string? FirstName { get; set; }
|
|
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
|
|
public string? PhoneNumber { get; set; }
|
|
|
|
|
|
public string? CompanyName { get; set; }
|
|
|
|
|
|
public string? Department { get; set; }
|
|
|
|
|
|
public DateTime? BirthDate { get; set; }
|
2025-01-24 19:17:26 -03:00
|
|
|
|
}
|
|
|
|
|
|
public class User
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
|
|
public string UserName { get; set; } = string.Empty;
|
|
|
|
|
|
public string NormalizedUserName { get; set; } = string.Empty;
|
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
|
|
public string NormalizedEmail { get; set; } = string.Empty;
|
|
|
|
|
|
public bool EmailConfirmed { get; set; }
|
|
|
|
|
|
public string PasswordHash { get; set; } = string.Empty;
|
|
|
|
|
|
public string SecurityStamp { get; set; } = string.Empty;
|
|
|
|
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|
|
|
|
|
public bool PhoneNumberConfirmed { get; set; }
|
|
|
|
|
|
public bool TwoFactorEnabled { get; set; }
|
|
|
|
|
|
public DateTimeOffset? LockoutEnd { get; set; }
|
|
|
|
|
|
public bool LockoutEnabled { get; set; }
|
|
|
|
|
|
public int AccessFailedCount { get; set; }
|
2025-04-30 00:16:59 -03:00
|
|
|
|
|
|
|
|
|
|
// Nuevos campos
|
|
|
|
|
|
public string? FirstName { get; set; }
|
|
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
|
|
public string? Company { get; set; }
|
|
|
|
|
|
public string? Department { get; set; }
|
|
|
|
|
|
public DateTime? BirthDate { get; set; }
|
2025-01-24 19:17:26 -03:00
|
|
|
|
}
|
|
|
|
|
|
}
|