Server Model hinzugefügt
This commit is contained in:
17
Watcher/Models/Server.cs
Normal file
17
Watcher/Models/Server.cs
Normal 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";
|
||||
}
|
||||
Reference in New Issue
Block a user