Fixed all relationship and write errors in all entities

This commit is contained in:
2025-10-07 23:28:16 +01:00
parent 9a5c83161a
commit 89be35ecb0
31 changed files with 124 additions and 104 deletions

View File

@@ -10,9 +10,7 @@ public class Movement
[Required] public DateTime Arrival {get; set;}
[Required] public int Quantity {get; set;}
[Required] public int ProductId {get; set;}
[Required] public Product? Product {get; set;}
public List<Product>? Products { get; set; }
public int? SourceWarehouseId {get; set;}
public Warehouse? SourceWarehouse {get; set;}