Correction de toutes les erreurs de relations et d'écritures dans tous

This commit is contained in:
2025-10-07 23:46:57 +01:00
parent 89be35ecb0
commit 856d8e2733
7 changed files with 41 additions and 12 deletions

View File

@@ -9,7 +9,8 @@ public class Staff
[Required, MaxLength(60)] public string LastName { get; set; } = null!;
[Required, MaxLength(100)] public string? Profession { get; set; }
[Required, MaxLength(120)] public string? Email { get; set; }
[Required] public string? F4T2NumberApproval { get; set; }
[Required, MaxLength(100)] public string? F4T2NumberApproval { get; set; }
[Required] public DateOnly F4T2ExpirationDate { get; set; }
public ICollection<Show>? Shows { get; set; }
public List<ShowStaff>? ShowStaffs { get; set; }
}