forked from sanchezvem/PyroFetes
Actualiser PyroFetes/Models/Staff.cs
This commit is contained in:
@@ -12,10 +12,10 @@ public class Staff
|
|||||||
[Required, MaxLength(60)]
|
[Required, MaxLength(60)]
|
||||||
public string LastName { get; set; } = null!;
|
public string LastName { get; set; } = null!;
|
||||||
|
|
||||||
[MaxLength(100)]
|
[Required, MaxLength(100)]
|
||||||
public string? Profession { get; set; }
|
public string? Profession { get; set; }
|
||||||
|
|
||||||
[EmailAddress, MaxLength(120)]
|
[Required, MaxLength(120)]
|
||||||
public string? Email { get; set; }
|
public string? Email { get; set; }
|
||||||
|
|
||||||
public ICollection<Show> Shows { get; set; } = new List<Show>();
|
public ICollection<Show> Shows { get; set; } = new List<Show>();
|
||||||
|
Reference in New Issue
Block a user