Actualiser PyroFetes/Models/Staff.cs

This commit is contained in:
2025-10-02 15:01:30 +02:00
parent c0ee31f4a7
commit 2bbb6c6e78

View File

@@ -12,10 +12,10 @@ public class Staff
[Required, MaxLength(60)]
public string LastName { get; set; } = null!;
[MaxLength(100)]
[Required, MaxLength(100)]
public string? Profession { get; set; }
[EmailAddress, MaxLength(120)]
[Required, MaxLength(120)]
public string? Email { get; set; }
public ICollection<Show> Shows { get; set; } = new List<Show>();