Removing unneccesary restrictions

This commit is contained in:
TypoMustakes
2024-01-09 14:48:13 +01:00
parent 54c1837a23
commit 589f92818e
5 changed files with 0 additions and 16 deletions

View File

@@ -9,9 +9,7 @@ namespace WD7UVN_HFT_2023241.Models
[Key]
public int ID { get; set; }
[Required]
[StringLength(240)]
public string NAME { get; set; }
[StringLength(240)]
public string EMAIL { get; set; }
[Required]
[ForeignKey(nameof(Employee))]