namespace OTSSignsOrchestrator.Server.Data.Entities;

public enum OperatorRole
{
    Admin,
    Viewer
}

public class Operator
{
    public Guid Id { get; set; }
    public string Email { get; set; } = string.Empty;
    public string PasswordHash { get; set; } = string.Empty;
    public OperatorRole Role { get; set; }
    public DateTime CreatedAt { get; set; }

    public ICollection<RefreshToken> RefreshTokens { get; set; } = [];
}
