fix: remove required from entities' id
also adds "Global" entity for storing global configuration
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user