Added Server and Container State Attribute
This commit is contained in:
@@ -13,4 +13,6 @@ public class Container
|
||||
[StringLength(50)]
|
||||
public required string ContainerName { get; set; } = null!;
|
||||
|
||||
public required string State { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ public class Server
|
||||
// Metadata
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
|
||||
public bool IsOnline { get; set; } = false;
|
||||
public string State { get; set; }
|
||||
|
||||
public DateTime LastSeen { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user