using Watcher.Models;

namespace Watcher.ViewModels
{
    public class DashboardViewModel
    {
        public int ActiveServers { get; set; }
        public int OfflineServers { get; set; }
        public int RunningContainers { get; set; }
        public int FailedContainers { get; set; }
        public DateTime LastLogin { get; set; }

        public List<Server> Servers { get; set; } = new();
        public List<LogEvent> RecentEvents { get; set; } = new();
        public List<Container> Containers { get; set; } = new();

        public string? NetworkStatus { get; set; } = "?";
        public string? DatabaseStatus { get; set; } = "?";

        public int RefreshIntervalMilliseconds { get; set; } = 30000;

    }
}
