feat(sales): add delivery note create DTOs closes #35

This commit is contained in:
Leandro Hernan Rojas 2026-03-23 11:31:33 -03:00
parent 6d3ad6aef2
commit f6bf3c61e8
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,12 @@
namespace Domain.Dtos.Sales
{
public class DeliveryNoteCreateItemRequest
{
public byte OriginType { get; set; }
public int? OriginId { get; set; }
public int? QuoteDetailId { get; set; }
public string Description { get; set; } = string.Empty;
public decimal Quantity { get; set; }
public string? Notes { get; set; }
}
}

View File

@ -0,0 +1,13 @@
namespace Domain.Dtos.Sales
{
public class DeliveryNoteCreateRequest
{
public string DeliveryNoteNumber { get; set; } = string.Empty;
public int? QuoteId { get; set; }
public DateTime IssueDate { get; set; }
public int CustomerId { get; set; }
public string? Observations { get; set; }
public string? ExtraInfoJson { get; set; }
public List<DeliveryNoteCreateItemRequest> Items { get; set; } = new();
}
}

View File

@ -0,0 +1,8 @@
namespace Domain.Dtos.Sales
{
public class DeliveryNoteCreateResponse
{
public int Id { get; set; }
public string DeliveryNoteNumber { get; set; } = string.Empty;
}
}