Added settings option model. Recreated migrations

This commit is contained in:
2025-12-25 22:02:12 +01:00
parent bfc7d9993a
commit be3cdb8235
8 changed files with 217 additions and 115 deletions

View File

@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Api.Database.Entities;
public class SettingsOption
{
public int Id { get; set; }
[MaxLength(256)]
public required string Key { get; set; }
[MaxLength(4096)]
public required string Value { get; set; }
}