namespace Watcher.Models;

public class Metric
{
    public int Id { get; set; }
    public DateTime Timestamp { get; set; }

    public string? Type { get; set; } // z.B. "CPU", "RAM", "Disk", "Network"
    public double Value { get; set; }

    public int? ServerId { get; set; }
    public Server? Server { get; set; }

    public int? ContainerId { get; set; }
    public Container? Container { get; set; }
}
