phronCare/Domain/Dtos/Sales/DeliveryNoteItemDto.cs
leandro 33fe012b09
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 18m57s
feat(sales): incorporar DTO de lectura para Delivery Note #23
- Se agregan DeliveryNoteDto y DeliveryNoteItemDto
- Se implementa proyección a DTO en PhSDeliveryNoteRepository
- Se extiende IPhSDeliveryNoteRepository con métodos DTO
- Se ajusta DeliveryNoteService para trabajar con DTO
- Se actualiza DeliveryNoteController para devolver DTO
- Se elimina exposición directa de EDeliveryNote en la API

Closes #23
2026-03-19 17:41:49 -03:00

23 lines
723 B
C#

using System;
namespace Domain.Dtos.Sales
{
/// <summary>
/// DTO de lectura para el detalle de un Delivery Note.
/// </summary>
public class DeliveryNoteItemDto
{
public int Id { get; set; }
public int DeliverynoteId { get; set; }
public int LineNumber { get; set; }
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; } = string.Empty;
public DateTime Createdat { get; set; }
public DateTime? Modifiedat { get; set; }
}
}