using System;
using System.Collections.Generic;

namespace Domain.Dtos.Sales
{
    /// <summary>
    /// DTO de lectura para Delivery Note.
    /// Representa la cabecera del remito con su detalle de ítems.
    /// </summary>
    public class DeliveryNoteDto
    {
        public int Id { get; set; }
        public string DeliveryNoteNumber { get; set; } = string.Empty;
        public string CustomerName { get; set; } = string.Empty;
        public int? QuoteId { get; set; }
        public string? QuoteNumber { get; set; }
        public int? SalesInvoiceId { get; set; }
        public DateTime IssueDate { get; set; }
        public int CustomerId { get; set; }
        public string Status { get; set; } = string.Empty;
        public string? LogoBase64 { get; set; }
        public string? Observations { get; set; }
        public string? ExtraInfoJson { get; set; }
        public int PrintCount { get; set; }
        public DateTime CreatedAt { get; set; }
        public DateTime? ModifiedAt { get; set; }
        public List<DeliveryNoteItemDto> Items { get; set; } = new();
    }
}
