réparation des models et corrections du type caliber

This commit is contained in:
2025-11-27 15:00:53 +01:00
parent cd7bfe618a
commit f60d3443ca
24 changed files with 9 additions and 333 deletions

View File

@@ -10,7 +10,7 @@ public class Warehouse
[Required] public int Current {get; set;}
[Required] public int MinWeight {get; set;}
[Required, MaxLength(100)] public string? Address { get; set; }
[Required] public string? ZipCode { get; set; }
[Required, Length(5,5)] public string? ZipCode { get; set; }
[Required, MaxLength(100)] public string? City { get; set; }
public List<WarehouseProduct>? WarehouseProducts { get; set; }