test
This commit is contained in:
@@ -16,4 +16,20 @@ public class Server
|
||||
[Required]
|
||||
// TODO: [RegularExpression("^(((?!25?[6-9])[12]\d|[1-9])?\d\.?\b){4}$")]
|
||||
public required string IPAddress { get; set; }
|
||||
|
||||
// Hardware Infos
|
||||
public string? CpuType { get; set; } = string.Empty;
|
||||
public int CpuCores { get; set; } = 0;
|
||||
public string? GpuType { get; set; } = string.Empty;
|
||||
public double RamSize { get; set; } = 0;
|
||||
public string? DiskSpace { get; set; } = string.Empty;
|
||||
|
||||
// Metadata
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
|
||||
public bool IsOnline { get; set; } = false;
|
||||
|
||||
public DateTime LastSeen { get; set; }
|
||||
|
||||
public bool IsVerified { get; set; } = false;
|
||||
}
|
||||
Reference in New Issue
Block a user