using System.ComponentModel.DataAnnotations; namespace MoonlightServers.Shared.Admin.Templates; public class UpdateLifecycleConfigDto { public List StartupCommands { get; set; } = []; [Required] public string StopCommand { get; set; } = string.Empty; public List OnlineLogPatterns { get; set; } = []; } public class UpdateStartupCommandDto { [Required] public string Command { get; set; } = string.Empty; [Required] public string DisplayName { get; set; } = string.Empty; }