namespace NexusRMM.Core.Models;

public class AlertRule
{
    public int Id { get; set; }
    public string Name { get; set; } = string.Empty;
    public string MetricPath { get; set; } = string.Empty;
    public string Operator { get; set; } = ">";
    public double Threshold { get; set; }
    public AlertSeverity Severity { get; set; }
    public bool Enabled { get; set; } = true;

    public ICollection<Alert> Alerts { get; set; } = [];
}
