Fixed all relationship and write errors in all entities
This commit is contained in:
@@ -5,6 +5,7 @@ namespace PyroFetes.Models;
|
||||
public class SoundCategory
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required, MaxLength(60)] public string Name { get; set; } = null!;
|
||||
public ICollection<Sound>? Sounds { get; set; }
|
||||
[Required, MaxLength(100)] public string Name { get; set; } = null!;
|
||||
|
||||
public List<Sound>? Sounds { get; set; }
|
||||
}
|
Reference in New Issue
Block a user