Files
PF3-fork/PyroFetes/Models/SoundCategory.cs

13 lines
296 B
C#

using System.ComponentModel.DataAnnotations;
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>();
}