Files
MilkyShots/Lactose/Models/Setting.cs
Samuele Lorefice e411c0ce27 feat(API): Settings rework
feat(db): extended amount of settings informations stored on the database
feat(frontend): added support for updating the refreshToken after a refresh request.
feat(backend): added a defaultSettings.json file that defines how the settings are initialized.
2025-07-18 20:40:42 +02:00

20 lines
439 B
C#

using Butter.Settings;
using System.ComponentModel.DataAnnotations;
namespace Lactose.Models;
public class Setting {
[Key][MaxLength(50)]
public required string Name { get; set; }
[MaxLength(1024)]
public string? Value { get; set; }
[MaxLength(2048)]
public string? Description { get; set; }
public required EType Type { get; set; }
public required DisplayType DisplayType { get; set; }
}