From a535f8cfebc3e598ffd6978b9c6c032727b70774 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Thu, 6 Nov 2025 18:51:46 +0100 Subject: [PATCH] fix errors in Price's DTO --- PyroFetes/DTO/Price/Request/UpdatePriceDto.cs | 2 +- PyroFetes/DTO/Price/Response/GetPriceDto.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs b/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs index 6f6af24..1eac827 100644 --- a/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs +++ b/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs @@ -15,7 +15,7 @@ public class UpdatePriceDto public int SupplierDeliveryDelay { get; set; } public int ProductId { get; set; } - public int ProductReferences { get; set; } + public string? ProductReferences { get; set; } public string? ProductName { get; set; } public decimal ProductDuration {get; set;} public decimal ProductCaliber { get; set; } diff --git a/PyroFetes/DTO/Price/Response/GetPriceDto.cs b/PyroFetes/DTO/Price/Response/GetPriceDto.cs index 81a8f07..a042cd2 100644 --- a/PyroFetes/DTO/Price/Response/GetPriceDto.cs +++ b/PyroFetes/DTO/Price/Response/GetPriceDto.cs @@ -15,7 +15,7 @@ public class GetPriceDto public int SupplierDeliveryDelay { get; set; } public int ProductId { get; set; } - public int ProductReferences { get; set; } + public string? ProductReferences { get; set; } public string? ProductName { get; set; } public decimal ProductDuration {get; set;} public decimal ProductCaliber { get; set; }