Creating DTO of ProductDelivery with flattening

This commit is contained in:
Cristiano
2025-10-11 01:29:02 +02:00
parent 0209dbfc20
commit ecd8883d55
6 changed files with 46 additions and 2 deletions

View File

@@ -10,5 +10,4 @@ public class CreateDeliveryNoteDto
public int DeliverId { get; set; }
public string? DeliverTransporter { get; set; }
public List<GetProductDeliveryDto> Products { get; set; }
}

View File

@@ -11,5 +11,4 @@ public class UpdateDeliveryNoteDto
public int DeliverId { get; set; }
public string? DeliverTransporter { get; set; }
public List<GetProductDeliveryDto> Products { get; set; }
}

View File

@@ -1,3 +1,5 @@
using PyroFetes.DTO.ProductDelivery.Response;
namespace PyroFetes.DTO.DeliveryNote.Response;
public class GetDeliveryNoteDto