Fixed all relationship and write errors in all entities

This commit is contained in:
2025-10-07 23:28:16 +01:00
parent 9a5c83161a
commit 89be35ecb0
31 changed files with 124 additions and 104 deletions

View File

@@ -10,11 +10,15 @@ public class Show
[MaxLength(500)] public string? Description { get; set; }
// Link (path/URL/file name) to the pyrotechnic implementation plan
[Required, MaxLength(500)]
public string? PyrotechnicImplementationPlan { get; set; }
public DateTime? Date { get; set; }
[Required, MaxLength(500)] public string? PyrotechnicImplementationPlan { get; set; }
public DateOnly? Date { get; set; }
[Required] public int CityId { get; set; }
public City? City { get; set; }
public ICollection<Staff>? Staff { get; set; }
public ICollection<Truck>? Trucks { get; set; }
public ICollection<SoundTimecode>? SoundCues { get; set; }
public List<SoundTimecode>? SoundTimecodes { get; set; }
}