Ya perdí el hilo de los cambios pero ahi van.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace GestionIntegral.Api.Dtos.Distribucion
|
||||
{
|
||||
public class UpdateControlDevolucionesDto
|
||||
{
|
||||
// IdEmpresa y Fecha no deberían cambiar para un registro existente. Si cambian, es un nuevo registro.
|
||||
[Required, Range(0, int.MaxValue)]
|
||||
public int Entrada { get; set; }
|
||||
[Required, Range(0, int.MaxValue)]
|
||||
public int Sobrantes { get; set; }
|
||||
[StringLength(250)]
|
||||
public string? Detalle { get; set; }
|
||||
[Required, Range(0, int.MaxValue)]
|
||||
public int SinCargo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user