22 lines
756 B
C#
22 lines
756 B
C#
|
|
using System;
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
namespace GestionIntegral.Api.Dtos.Impresion
|
||
|
|
{
|
||
|
|
public class CreateStockBobinaDto
|
||
|
|
{
|
||
|
|
[Required]
|
||
|
|
public int IdTipoBobina { get; set; }
|
||
|
|
[Required, StringLength(15)]
|
||
|
|
public string NroBobina { get; set; } = string.Empty;
|
||
|
|
[Required, Range(1, int.MaxValue)]
|
||
|
|
public int Peso { get; set; }
|
||
|
|
[Required]
|
||
|
|
public int IdPlanta { get; set; }
|
||
|
|
[Required, StringLength(15)]
|
||
|
|
public string Remito { get; set; } = string.Empty;
|
||
|
|
[Required]
|
||
|
|
public DateTime FechaRemito { get; set; }
|
||
|
|
// IdEstadoBobina se setea a "Disponible" (1) en el backend
|
||
|
|
// FechaEstado se setea a FechaRemito en el backend
|
||
|
|
}
|
||
|
|
}
|