création CreateShowEndpoint.cs et rectification quelque chemin
This commit is contained in:
11
PF3/Models/SoundCategory.cs
Normal file
11
PF3/Models/SoundCategory.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace PF3.Models;
|
||||
|
||||
public class SoundCategory
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required, MaxLength(100)] public string Name { get; set; } = null!;
|
||||
|
||||
public List<Sound>? Sounds { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user