Moved request and responses dtos to correct namespace

This commit is contained in:
2026-01-29 12:45:09 +01:00
parent e1207b8d9b
commit 8181404f0c
47 changed files with 68 additions and 71 deletions

View File

@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Admin.Themes;
public class CreateThemeDto
{
[Required]
[MaxLength(30)]
public string Name { get; set; }
[Required]
[MaxLength(30)]
public string Version { get; set; }
[Required]
[MaxLength(30)]
public string Author { get; set; }
public bool IsEnabled { get; set; }
[Required]
[MaxLength(20_000)]
public string CssContent { get; set; }
}