From bbd8d3d36a80b768a71d385b01b824d35614f275 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Sun, 9 Nov 2025 18:48:23 +0100 Subject: [PATCH] Actualiser PyroFetes/DTO/Price/Request/CreatePriceDto.cs --- PyroFetes/DTO/Price/Request/CreatePriceDto.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyroFetes/DTO/Price/Request/CreatePriceDto.cs b/PyroFetes/DTO/Price/Request/CreatePriceDto.cs index 046c064..b149ef6 100644 --- a/PyroFetes/DTO/Price/Request/CreatePriceDto.cs +++ b/PyroFetes/DTO/Price/Request/CreatePriceDto.cs @@ -4,7 +4,7 @@ public class CreatePriceDto { public decimal SellingPrice { get; set; } - public int SupplierId { get; set; } + public int? SupplierId { get; set; } public string? SupplierName { get; set; } public string? SupplierEmail { get; set; } public string? SupplierPhone { get; set; } @@ -13,7 +13,7 @@ public class CreatePriceDto public string? SupplierCity { get; set; } public int SupplierDeliveryDelay { get; set; } - public int ProductId { get; set; } + public int? ProductId { get; set; } public string? ProductReferences { get; set; } public string? ProductName { get; set; } public decimal ProductDuration {get; set;}