using System.ComponentModel.DataAnnotations; namespace MoonlightServers.Shared.Admin.Nodes; public class CreateNodeDto { [Required] [MaxLength(50)] public string Name { get; set; } [Required] [MaxLength(100)] public string HttpEndpointUrl { get; set; } }