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

@@ -2,7 +2,7 @@ namespace Shadow.Entities;
public class GenreSong
{
// Composite keys
required public int GenreId { get; set; }
public int GenreId { get; set; }
required public int SongId { get; set; }
required public Genre Genre { get; set; }