All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m55s
EmailConfirmed
45 lines
1.8 KiB
C#
45 lines
1.8 KiB
C#
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; }
|
|
public bool EmailConfirmed { get; set; }
|
|
|
|
// 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; }
|
|
}
|
|
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; }
|
|
|
|
// 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; }
|
|
}
|
|
}
|