Cleaned code
This commit is contained in:
@@ -6,6 +6,6 @@ public class GetDelivererDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Transporter { get; set; }
|
||||
|
||||
|
||||
public List<GetDeliveryNoteDto>? DeliveryNotes { get; set; }
|
||||
}
|
||||
@@ -7,6 +7,6 @@ public class UpdateDeliveryNoteDto
|
||||
public DateOnly EstimateDeliveryDate { get; set; }
|
||||
public DateOnly ExpeditionDate { get; set; }
|
||||
public DateOnly? RealDeliveryDate { get; set; }
|
||||
|
||||
|
||||
public int DelivererId { get; set; }
|
||||
}
|
||||
@@ -9,9 +9,9 @@ public class GetDeliveryNoteDto
|
||||
public DateOnly EstimateDeliveryDate { get; set; }
|
||||
public DateOnly ExpeditionDate { get; set; }
|
||||
public DateOnly? RealDeliveryDate { get; set; }
|
||||
|
||||
|
||||
public int DelivererId { get; set; }
|
||||
public string? DelivererTransporter { get; set; }
|
||||
|
||||
public List<GetProductDeliveryDto>? Products { get; set; }
|
||||
|
||||
public List<GetProductDeliveryDto>? Products { get; set; }
|
||||
}
|
||||
@@ -3,11 +3,11 @@
|
||||
public class GetPriceDto
|
||||
{
|
||||
public decimal SellingPrice { get; set; }
|
||||
|
||||
|
||||
public int ProductId { get; set; }
|
||||
public string? ProductReference { get; set; }
|
||||
public string? ProductName { get; set; }
|
||||
public decimal ProductDuration {get; set;}
|
||||
public decimal ProductDuration { get; set; }
|
||||
public int ProductCaliber { get; set; }
|
||||
public string? ProductApprovalNumber { get; set; }
|
||||
public decimal ProductWeight { get; set; }
|
||||
|
||||
@@ -5,7 +5,7 @@ public class UpdateProductDto
|
||||
public int Id { get; set; }
|
||||
public string? References { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public decimal Duration {get; set;}
|
||||
public decimal Duration { get; set; }
|
||||
public int Caliber { get; set; }
|
||||
public string? ApprovalNumber { get; set; }
|
||||
public decimal Weight { get; set; }
|
||||
|
||||
@@ -5,7 +5,7 @@ public class GetProductDto
|
||||
public int Id { get; set; }
|
||||
public string? References { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public decimal Duration {get; set;}
|
||||
public decimal Duration { get; set; }
|
||||
public int Caliber { get; set; }
|
||||
public string? ApprovalNumber { get; set; }
|
||||
public decimal Weight { get; set; }
|
||||
|
||||
@@ -5,7 +5,7 @@ public class GetProductDeliveryDto
|
||||
public int ProductId { get; set; }
|
||||
public string? ProductReference { get; set; }
|
||||
public string? ProductName { get; set; }
|
||||
public decimal ProductDuration {get; set;}
|
||||
public decimal ProductDuration { get; set; }
|
||||
public int ProductCaliber { get; set; }
|
||||
public string? ProductApprovalNumber { get; set; }
|
||||
public decimal ProductWeight { get; set; }
|
||||
@@ -13,6 +13,6 @@ public class GetProductDeliveryDto
|
||||
public string? ProductImage { get; set; }
|
||||
public string? ProductLink { get; set; }
|
||||
public int ProductMinimalQuantity { get; set; }
|
||||
|
||||
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
@@ -6,4 +6,4 @@ public class CreatePurchaseOrderDto
|
||||
{
|
||||
public string? PurchaseConditions { get; set; }
|
||||
public List<CreatePurchaseOrderProductDto>? Products { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@ namespace PyroFetes.DTO.PurchaseProduct.Request;
|
||||
|
||||
public class CreatePurchaseProductDto
|
||||
{
|
||||
public int Quantity { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public int ProductId { get; set; }
|
||||
public int PurchaseOrderId { get; set; }
|
||||
}
|
||||
@@ -4,5 +4,5 @@ public class PatchPurchaseProductQuantityDto
|
||||
{
|
||||
public int ProductId { get; set; }
|
||||
public int PurchaseOrderId { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
@@ -5,7 +5,7 @@ public class GetPurchaseProductDto
|
||||
public int ProductId { get; set; }
|
||||
public string? ProductReference { get; set; }
|
||||
public string? ProductName { get; set; }
|
||||
public decimal ProductDuration {get; set;}
|
||||
public decimal ProductDuration { get; set; }
|
||||
public int ProductCaliber { get; set; }
|
||||
public string? ProductApprovalNumber { get; set; }
|
||||
public decimal ProductWeight { get; set; }
|
||||
@@ -14,6 +14,6 @@ public class GetPurchaseProductDto
|
||||
public string? ProductLink { get; set; }
|
||||
public int ProductMinimalQuantity { get; set; }
|
||||
public decimal ProductPrice { get; set; }
|
||||
|
||||
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
public class GetQuotationPdfDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
}
|
||||
@@ -3,11 +3,11 @@ namespace PyroFetes.DTO.QuotationProduct.Response;
|
||||
public class GetQuotationProductDto
|
||||
{
|
||||
public int Quantity { get; set; }
|
||||
|
||||
|
||||
public int ProductId { get; set; }
|
||||
public string? ProductReference { get; set; }
|
||||
public string? ProductName { get; set; }
|
||||
public decimal ProductDuration {get; set;}
|
||||
public decimal ProductDuration { get; set; }
|
||||
public int ProductCaliber { get; set; }
|
||||
public string? ProductApprovalNumber { get; set; }
|
||||
public decimal ProductWeight { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user