fix: remove required from entities' id

also adds "Global" entity for storing global configuration
This commit is contained in:
2025-12-16 04:01:45 +01:00
parent efb8a41065
commit eebc5f1d6d
15 changed files with 1627 additions and 1537 deletions

7
Entities/Global.cs Normal file
View File

@@ -0,0 +1,7 @@
namespace Shadow.Entities;
public class Global
{
public int Id { get; set; }
required public string Key { get; set; }
public string? Value { get; set; } = null;
}