namespace API.DTO.Warehouse.Request { // DTO pour mettre à jour un entrepôt public class UpdateWarehouseDto { // Identifiant de l'entrepôt à mettre à jour public int Id { get; set; } // Nom de l'entrepôt public string Name { get; set; } // Poids maximal que l'entrepôt peut contenir public int MaxWeight { get; set; } // Poids actuel stocké public int Current { get; set; } // Poids minimal souhaité public int MinWeight { get; set; } // Adresse de l'entrepôt public string Adress { get; set; } // Code postal public int ZipCode { get; set; } // Ville public string City { get; set; } // Liste des produits à mettre à jour dans cet entrepôt public List? Products { get; set; } } // DTO pour mettre à jour la quantité d'un produit dans un entrepôt public class UpdateWarehouseProductDto { // Identifiant du produit public int ProductId { get; set; } // Nouvelle quantité du produit dans l'entrepôt public int Quantity { get; set; } } }