18 lines
467 B
C#
18 lines
467 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Moonlight.Api.Infrastructure.Database.Entities;
|
|
|
|
public class Theme
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[MaxLength(30)] public required string Name { get; set; }
|
|
|
|
[MaxLength(30)] public required string Version { get; set; }
|
|
|
|
[MaxLength(30)] public required string Author { get; set; }
|
|
|
|
public bool IsEnabled { get; set; }
|
|
|
|
[MaxLength(20_000)] public required string CssContent { get; set; }
|
|
} |