diff --git a/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs b/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs index 6cc010e..db235e1 100644 --- a/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs +++ b/PyroFetes/DTO/DeliveryNote/Request/CreateDeliveryNoteDto.cs @@ -10,5 +10,4 @@ public class CreateDeliveryNoteDto public int DeliverId { get; set; } public string? DeliverTransporter { get; set; } - public List Products { get; set; } } \ No newline at end of file diff --git a/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs b/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs index 899ddb3..b695530 100644 --- a/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs +++ b/PyroFetes/DTO/DeliveryNote/Request/UpdateDeliveryNoteDto.cs @@ -11,5 +11,4 @@ public class UpdateDeliveryNoteDto public int DeliverId { get; set; } public string? DeliverTransporter { get; set; } - public List Products { get; set; } } \ No newline at end of file diff --git a/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs b/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs index a1829bf..886e883 100644 --- a/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs +++ b/PyroFetes/DTO/DeliveryNote/Response/GetDeliveryNoteDto.cs @@ -1,3 +1,5 @@ +using PyroFetes.DTO.ProductDelivery.Response; + namespace PyroFetes.DTO.DeliveryNote.Response; public class GetDeliveryNoteDto diff --git a/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs b/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs new file mode 100644 index 0000000..d993ad3 --- /dev/null +++ b/PyroFetes/DTO/ProductDelivery/Request/CreateProductDeliveryDto.cs @@ -0,0 +1,8 @@ +namespace PyroFetes.DTO.ProductDelivery.Request; + +public class CreateProductDeliveryDto +{ + public int ProductId { get; set; } + public int DeliveryNoteId { get; set; } + public int Quantity { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs b/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs new file mode 100644 index 0000000..7a6bb71 --- /dev/null +++ b/PyroFetes/DTO/ProductDelivery/Request/UpdateProductDeliveryDto.cs @@ -0,0 +1,8 @@ +namespace PyroFetes.DTO.ProductDelivery.Request; + +public class UpdateProductDeliveryDto +{ + public int Quantity { get; set; } + public int ProductId { get; set; } + public int DeliveryNoteId { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs b/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs new file mode 100644 index 0000000..ef82503 --- /dev/null +++ b/PyroFetes/DTO/ProductDelivery/Response/GetProductDeliveryDto.cs @@ -0,0 +1,28 @@ +namespace PyroFetes.DTO.ProductDelivery.Response; + +public class GetProductDeliveryDto +{ + public int ProductId { get; set; } + public int ProductReference { 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; } + + public int DeliveryNoteId { get; set; } + public string? DeliveryNoteTrackingNumber { get; set; } + public DateOnly DeliveryNoteEstimateDeliveryDate { get; set; } + public DateOnly DeliveryNoteExpeditionDate { get; set; } + public DateOnly? DeliveryNoteRealDeliveryDate { get; set; } + + public int DeliveryNoteDeliverId { get; set; } + public string? DeliveryNoteDeliverTransporter { get; set; } + + + public int Quantity { get; set; } +} \ No newline at end of file