// src/Elecciones.Database/Entities/AdminUser.cs
using System.ComponentModel.DataAnnotations;

namespace Elecciones.Database.Entities;

public class AdminUser
{
    [Key]
    public int Id { get; set; }

    [Required]
    [MaxLength(100)]
    public string Username { get; set; } = null!;

    [Required]
    public string PasswordHash { get; set; } = null!;

    [Required]
    public string PasswordSalt { get; set; } = null!;
}