mirror of
https://github.com/ryzij/ServerMonitor.git
synced 2026-07-14 03:46:58 +00:00
Add MonitorPanel.DataAccess
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace MonitorPanel.DataAccess.Entities;
|
||||
|
||||
public class ServerEntity
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public bool IsHttps { get; set; }
|
||||
[Required]
|
||||
public string Address { get; set; } = null!;
|
||||
string? Path { get; set; }
|
||||
[Required]
|
||||
public int Port { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user