Ya perdí el hilo de los cambios pero ahi van.

This commit is contained in:
2025-05-23 15:47:39 -03:00
parent e7e185a9cb
commit 3c1fe15b1f
141 changed files with 9764 additions and 190 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace GestionIntegral.Api.Dtos.Distribucion
{
public class CreateControlDevolucionesDto
{
[Required]
public int IdEmpresa { get; set; }
[Required]
public DateTime Fecha { get; set; }
[Required, Range(0, int.MaxValue)] // Entrada puede ser 0 si solo hay sobrantes/sin cargo
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; } = 0; // Default 0
}
}