namespace NexusRMM.Core.Models;

public class Alert
{
    public long Id { get; set; }
    public int RuleId { get; set; }
    public Guid AgentId { get; set; }
    public string Message { get; set; } = string.Empty;
    public AlertSeverity Severity { get; set; }
    public bool Acknowledged { get; set; }
    public DateTime CreatedAt { get; set; }

    public AlertRule Rule { get; set; } = null!;
    public Agent Agent { get; set; } = null!;
}
