Merge branch 'feature/CreatingQuotationProductDTO' into develop
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
namespace PyroFetes.DTO.QuotationProduct.Request;
|
||||||
|
|
||||||
|
public class CreateQuotationProductDto
|
||||||
|
{
|
||||||
|
public int Quantity { get; set; }
|
||||||
|
|
||||||
|
public int QuotationId { get; set; }
|
||||||
|
public string? QuotationMessage { get; set; }
|
||||||
|
public string? QuotationConditionsSale { get; set; }
|
||||||
|
|
||||||
|
public int ProductId { get; set; }
|
||||||
|
public int ProductReferences { get; set; }
|
||||||
|
public string? ProductName { get; set; }
|
||||||
|
public decimal ProductDuration {get; set;}
|
||||||
|
public decimal ProductCaliber { get; set; }
|
||||||
|
public int ProductApprovalNumber { get; set; }
|
||||||
|
public decimal ProductWeight { get; set; }
|
||||||
|
public decimal ProductNec { get; set; }
|
||||||
|
public string? ProductImage { get; set; }
|
||||||
|
public string? ProductLink { get; set; }
|
||||||
|
public int ProductMinimalQuantity { get; set; }
|
||||||
|
}
|
@@ -0,0 +1,7 @@
|
|||||||
|
namespace PyroFetes.DTO.QuotationProduct.Request;
|
||||||
|
|
||||||
|
public class PatchQuotationProductQuantityDto
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int Quantity { get; set; }
|
||||||
|
}
|
@@ -0,0 +1,23 @@
|
|||||||
|
namespace PyroFetes.DTO.QuotationProduct.Request;
|
||||||
|
|
||||||
|
public class UpdateQuotationProductDto
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int Quantity { get; set; }
|
||||||
|
|
||||||
|
public int QuotationId { get; set; }
|
||||||
|
public string? QuotationMessage { get; set; }
|
||||||
|
public string? QuotationConditionsSale { get; set; }
|
||||||
|
|
||||||
|
public int ProductId { get; set; }
|
||||||
|
public int ProductReferences { get; set; }
|
||||||
|
public string? ProductName { get; set; }
|
||||||
|
public decimal ProductDuration {get; set;}
|
||||||
|
public decimal ProductCaliber { get; set; }
|
||||||
|
public int ProductApprovalNumber { get; set; }
|
||||||
|
public decimal ProductWeight { get; set; }
|
||||||
|
public decimal ProductNec { get; set; }
|
||||||
|
public string? ProductImage { get; set; }
|
||||||
|
public string? ProductLink { get; set; }
|
||||||
|
public int ProductMinimalQuantity { get; set; }
|
||||||
|
}
|
@@ -0,0 +1,23 @@
|
|||||||
|
namespace PyroFetes.DTO.QuotationProduct.Response;
|
||||||
|
|
||||||
|
public class GetQuotationProductDto
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int Quantity { get; set; }
|
||||||
|
|
||||||
|
public int QuotationId { get; set; }
|
||||||
|
public string? QuotationMessage { get; set; }
|
||||||
|
public string? QuotationConditionsSale { get; set; }
|
||||||
|
|
||||||
|
public int ProductId { get; set; }
|
||||||
|
public int ProductReferences { get; set; }
|
||||||
|
public string? ProductName { get; set; }
|
||||||
|
public decimal ProductDuration {get; set;}
|
||||||
|
public decimal ProductCaliber { get; set; }
|
||||||
|
public int ProductApprovalNumber { get; set; }
|
||||||
|
public decimal ProductWeight { get; set; }
|
||||||
|
public decimal ProductNec { get; set; }
|
||||||
|
public string? ProductImage { get; set; }
|
||||||
|
public string? ProductLink { get; set; }
|
||||||
|
public int ProductMinimalQuantity { get; set; }
|
||||||
|
}
|
Reference in New Issue
Block a user