22 lines
658 B
C#
22 lines
658 B
C#
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; } = "?";
|
|
|
|
}
|
|
}
|