From 232e016b380d0f24e4ca6df7bd67a97813fabd7d Mon Sep 17 00:00:00 2001 From: duykasama Date: Mon, 4 Mar 2024 09:54:05 +0700 Subject: [PATCH] [Hotfix][Duy] Add product price when creating quotations --- .../Quotations/ProductDetailInCreatingQuotationRequest.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Domus.Service/Models/Requests/Quotations/ProductDetailInCreatingQuotationRequest.cs b/Domus.Service/Models/Requests/Quotations/ProductDetailInCreatingQuotationRequest.cs index 58afbc8..aee8060 100644 --- a/Domus.Service/Models/Requests/Quotations/ProductDetailInCreatingQuotationRequest.cs +++ b/Domus.Service/Models/Requests/Quotations/ProductDetailInCreatingQuotationRequest.cs @@ -10,4 +10,7 @@ public class ProductDetailInCreatingQuotationRequest [Range(0, int.MaxValue)] public int Quantity { get; set; } + + [Range(0, double.MaxValue)] + public double Price { get; set; } }