using API.DTO.Product.Request; namespace API.DTO.Product.Response; public class GetProductDto { public int Id { get; set; } public int Reference { get; set; } public string? Name { get; set; } public decimal Duration { get; set; } public decimal Caliber { get; set; } public int ApprovalNumber { get; set; } public decimal Weight { get; set; } public decimal Nec { get; set; } public decimal SellingPrice { get; set; } public string? Image { get; set; } public string? Link { get; set; } public int ClassificationId { get; set; } public int ProductCategoryId { get; set; } // Liste des fournisseurs liés avec leur prix de vente public List Suppliers { get; set; } public List Warehouses { get; set; } = new(); } public class GetProductSupplierDto { public int SupplierId { get; set; } public string SupplierName { get; set; } = string.Empty; public decimal SellingPrice { get; set; } } public class GetProductWarehouseDto { public int WarehouseId { get; set; } public string WarehouseName { get; set; } = string.Empty; public int Quantity { get; set; } }