forked from sanchezvem/PyroFetes
added CreateQuotationEndpoint.cs
This commit is contained in:
10
PyroFetes/DTO/Quotation/Request/CreateQuotationDto.cs
Normal file
10
PyroFetes/DTO/Quotation/Request/CreateQuotationDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using PyroFetes.DTO.QuotationProduct.Request;
|
||||
|
||||
namespace PyroFetes.DTO.Quotation.Request;
|
||||
|
||||
public class CreateQuotationDto
|
||||
{
|
||||
public string? Message { get; set; }
|
||||
public string? ConditionsSale { get; set; }
|
||||
public List<CreateProductQuotationDto>? Products { get; set; }
|
||||
}
|
||||
@@ -7,5 +7,5 @@ public class GetQuotationDto
|
||||
public int Id { get; set; }
|
||||
public string? Message { get; set; }
|
||||
public string? ConditionsSale { get; set; }
|
||||
public List<GetQuotationProductDto>? GetQuotationProductDto { get; set; }
|
||||
public List<GetQuotationProductDto>? Products { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace PyroFetes.DTO.QuotationProduct.Request;
|
||||
|
||||
// Pour création global
|
||||
public class CreateProductQuotationDto
|
||||
{
|
||||
public int ProductId { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user