mirror of
https://github.com/ryzij/ServerMonitor.git
synced 2026-07-14 03:46:58 +00:00
14 lines
380 B
C#
14 lines
380 B
C#
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; }
|
|
} |