Recreated project with project template
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MoonlightServers.Shared.Http.Requests.Admin.Nodes;
|
||||
|
||||
public class CreateNodeRequest
|
||||
{
|
||||
[Required(ErrorMessage = "You need to provide a name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "You need to provide a fqdn")]
|
||||
public string Fqdn { get; set; }
|
||||
|
||||
[Range(1, 65535, ErrorMessage = "You need to provide a valid port")]
|
||||
public int ApiPort { get; set; } = 8080;
|
||||
|
||||
public bool SslEnabled { get; set; } = false;
|
||||
}
|
||||
Reference in New Issue
Block a user