forked from sanchezvem/PyroFetes
Entité du sujet 3 avec connections et cardinalités
This commit is contained in:
24
PyroFetes/Models/Show.cs
Normal file
24
PyroFetes/Models/Show.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace PyroFetes.Models;
|
||||
|
||||
public class Show
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
|
||||
[MaxLength(120)]
|
||||
public string? Place { get; set; }
|
||||
|
||||
[MaxLength(500)]
|
||||
public string? Description { get; set; }
|
||||
|
||||
// Lien (chemin/URL/nom de fichier) vers le plan d’implémentation pyrotechnique
|
||||
[MaxLength(500)]
|
||||
public string? PyrotechnicImplementationPlan { get; set; }
|
||||
|
||||
public DateTime? Date { get; set; }
|
||||
|
||||
public ICollection<Staff> Staff { get; set; } = new List<Staff>();
|
||||
public ICollection<Truck> Trucks { get; set; } = new List<Truck>();
|
||||
public ICollection<SoundTimecode> SoundCues { get; set; } = new List<SoundTimecode>();
|
||||
}
|
Reference in New Issue
Block a user