From 2bbb6c6e7807382daf40515caf43a27a65912c2e Mon Sep 17 00:00:00 2001 From: cernont Date: Thu, 2 Oct 2025 15:01:30 +0200 Subject: [PATCH] Actualiser PyroFetes/Models/Staff.cs --- PyroFetes/Models/Staff.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyroFetes/Models/Staff.cs b/PyroFetes/Models/Staff.cs index fd6d846..0c829d8 100644 --- a/PyroFetes/Models/Staff.cs +++ b/PyroFetes/Models/Staff.cs @@ -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 Shows { get; set; } = new List();