16 lines
		
	
	
		
			594 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			594 B
		
	
	
	
		
			C#
		
	
	
	
	
	
|  | 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; } | ||
|  |     } | ||
|  | } |