20 lines
458 B
C#
20 lines
458 B
C#
namespace Watcher.Models;
|
|
|
|
public class Server
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
public string Hostname { get; set; } = string.Empty;
|
|
|
|
// z.B. "VPS", "standalone", "VM", etc.
|
|
public string Type { get; set; } = "VPS";
|
|
|
|
public Boolean IsOnline { get; set; } = false;
|
|
}
|