Server Model hinzugefügt

This commit is contained in:
2025-06-14 00:42:59 +02:00
parent 22b8e185b5
commit 129443d789
3 changed files with 96 additions and 0 deletions

17
Watcher/Models/Server.cs Normal file
View File

@@ -0,0 +1,17 @@
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";
}