17:17 09/10

This commit is contained in:
2025-10-09 17:17:42 +02:00
parent 1734ec0219
commit 91b4aca2fa
76 changed files with 815 additions and 388 deletions

View File

@@ -1,4 +1,4 @@
namespace API.DTO.Supplier.Request;
namespace PyroFetes.DTO.Supplier.Request;
public class CreateSupplierDto
{
@@ -8,4 +8,13 @@ public class CreateSupplierDto
public string Adress { get; set; }
public int ZipCode { get; set; }
public string City { get; set; }
// Produits que ce fournisseur fournit
public List<SupplierProductPriceDto>? Products { get; set; }
}
public class SupplierProductPriceDto
{
public int ProductId { get; set; }
public decimal SellingPrice { get; set; }
}