Correcting Entities
This commit is contained in:
@@ -5,9 +5,6 @@ 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; } = new List<Sound>();
|
||||
[Required, MaxLength(60)] public string Name { get; set; } = null!;
|
||||
public ICollection<Sound>? Sounds { get; set; }
|
||||
}
|
Reference in New Issue
Block a user