Fixed Database

This commit is contained in:
Cristiano
2025-11-27 14:35:35 +01:00
parent 86c5d6ae7b
commit 50a5f371dd
5 changed files with 2025 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ public class Supplier
[Required, MaxLength(100)] public string? Email { get; set; }
[Required, MaxLength(30)] public string? Phone { get; set; }
[Required, MaxLength(100)] public string? Address { get; set; }
[Required,MaxLength(5),MinLength(5)] public string? ZipCode { get; set; }
[Required,Length(5,5)] public string? ZipCode { get; set; }
[Required, MaxLength(100)] public string? City { get; set; }
[Required] public int DeliveryDelay { get; set; }