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

View File

@@ -1,7 +1,7 @@
namespace Shadow.Entities;
public class Album
{
required public int Id { get; set; }
public int Id { get; set; }
public required string Name { get; set; }
public required string Uri { get; set; }
public int State { get; set; } = 0;