namespace Features.Auth.Identity;
///
/// The user type driving for
/// Features.Auth. A plain POCO (not IdentityUser<TKey>) backed by
/// rather than EF Core, matching the rest of the solution's Dapper-only persistence.
///
public sealed class ApplicationUser
{
public Guid Id { get; set; }
public string UserName { get; set; } = string.Empty;
public string? NormalizedUserName { get; set; }
public string Email { get; set; } = string.Empty;
public string? NormalizedEmail { get; set; }
public bool EmailConfirmed { get; set; }
/// The current Argon2 hash, or if the account has no password set.
public string? PasswordHash { get; set; }
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
public DateTime DateOfBirth { get; set; }
}