forked from sanchezvem/PyroFetes
Correcting relations into Movement and Warehouse.
This commit is contained in:
@@ -14,8 +14,8 @@ public class Movement
|
|||||||
[Required] public Product? Product {get; set;}
|
[Required] public Product? Product {get; set;}
|
||||||
|
|
||||||
[Required] public int? SourceWarehouseId {get; set;}
|
[Required] public int? SourceWarehouseId {get; set;}
|
||||||
[Required] public Warehouse? SourceWarehouse {get; set;}
|
public Warehouse? SourceWarehouse {get; set;}
|
||||||
|
|
||||||
[Required] public int? DestinationWarehouseId {get; set;}
|
public int? DestinationWarehouseId {get; set;}
|
||||||
[Required] public Warehouse? DestinationWarehouse {get; set;}
|
public Warehouse? DestinationWarehouse {get; set;}
|
||||||
}
|
}
|
@@ -14,9 +14,9 @@ public class Warehouse
|
|||||||
[Required] public string? City { get; set; }
|
[Required] public string? City { get; set; }
|
||||||
|
|
||||||
|
|
||||||
[Required] public List<Material>? Materials {get; set;}
|
public List<Material>? Materials {get; set;}
|
||||||
|
|
||||||
|
|
||||||
[Required] public List<Movement>? MovementsSource { get; set; }
|
public List<Movement>? MovementsSource { get; set; }
|
||||||
[Required] public List<Movement>? MovementsDestination { get; set; }
|
public List<Movement>? MovementsDestination { get; set; }
|
||||||
}
|
}
|
Reference in New Issue
Block a user