using System.ComponentModel.DataAnnotations; namespace MoonlightServers.Shared.Http.Requests.Admin.Stars; public class UpdateStarRequest { [Required(ErrorMessage = "You need to specify a name")] public string Name { get; set; } [Required(ErrorMessage = "You need to specify a version")] public string Version { get; set; } [Required(ErrorMessage = "You need to specify a author")] public string Author { get; set; } public string? UpdateUrl { get; set; } public string? DonateUrl { get; set; } [Required(ErrorMessage = "You need to specify a startup command")] public string StartupCommand { get; set; } [Required(ErrorMessage = "You need to specify a stop command")] public string StopCommand { get; set; } [Required(ErrorMessage = "You need to specify a online detection string")] public string OnlineDetection { get; set; } [Required(ErrorMessage = "You need to specify an install shell")] public string InstallShell { get; set; } [Required(ErrorMessage = "You need to specify an install docker image")] [RegularExpression("^(?:(?=[^:\\/]{1,253})(?!-)[a-zA-Z0-9-]{1,63}(?