forked from sanchezvem/PyroFetes
21 lines
586 B
C#
21 lines
586 B
C#
namespace API.DTO.Warehouse.Request;
|
|
|
|
public class CreateWarehouseDto
|
|
{
|
|
public string Name { get; set; }
|
|
public int MaxWeight { get; set; }
|
|
public int Current { get; set; }
|
|
public int MinWeight { get; set; }
|
|
public string Adress { get; set; }
|
|
public int ZipCode { get; set; }
|
|
public string City { get; set; }
|
|
|
|
// Liste des produits à stocker dans cet entrepôt
|
|
public List<CreateWarehouseProductDto>? Products { get; set; }
|
|
}
|
|
|
|
public class CreateWarehouseProductDto
|
|
{
|
|
public int ProductId { get; set; }
|
|
public int Quantity { get; set; }
|
|
} |