Files
PyroFetes-Sujet1/PyroFetes/DTO/Warehouse/Request/CreateWarehouseDto.cs
2025-10-09 15:16:08 +02:00

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; }
}