namespace Meezi.Core.Entities;

public class SystemAdmin : BaseEntity
{
    public string Name { get; set; } = string.Empty;
    public string Phone { get; set; } = string.Empty;
    public bool IsActive { get; set; } = true;

    /// <summary>Optional username for password-based login (alternative to OTP).</summary>
    public string? Username { get; set; }

    /// <summary>PBKDF2/SHA-256 hash. Null means password login is not enabled.</summary>
    public string? PasswordHash { get; set; }
}
