namespace OTSSignsOrchestrator.Server.Data.Entities;

public enum HealthEventStatus
{
    Healthy,
    Degraded,
    Critical
}

public class HealthEvent
{
    public Guid Id { get; set; }
    public Guid InstanceId { get; set; }
    public string CheckName { get; set; } = string.Empty;
    public HealthEventStatus Status { get; set; }
    public string? Message { get; set; }
    public bool Remediated { get; set; }
    public DateTime OccurredAt { get; set; }

    public Instance Instance { get; set; } = null!;
}
