Files
watcher/Watcher/Models/Container.cs
2025-06-29 13:28:41 +02:00

26 lines
548 B
C#

namespace Watcher.Models;
public class Container
{
public int Id { get; set; }
// Container Details
public string? Name { get; set; }
public int ExposedPort { get; set; }
public int InternalPort { get; set; }
public string Status { get; set; } = string.Empty;
public string Health { get; set; } = string.Empty;
public string? Image { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public Boolean IsRunning { get; set; } = true;
public Server? HostServer { get; set; }
}