// Backend/GestionIntegral.Api/Models/Dtos/Impresion/CreateStockBobinaLoteDto.cs

using System.ComponentModel.DataAnnotations;

namespace GestionIntegral.Api.Dtos.Impresion
{
  public class CreateStockBobinaLoteDto
  {
    [Required]
    public int IdPlanta { get; set; }

    [Required]
    [StringLength(15)]
    public string Remito { get; set; } = string.Empty;

    [Required]
    public DateTime FechaRemito { get; set; }

    [Required]
    [MinLength(1, ErrorMessage = "Debe ingresar al menos una bobina.")]
    public List<BobinaLoteDetalleDto> Bobinas { get; set; } = new();
  }
}