14 lines
		
	
	
		
			492 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			492 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using System;
							 | 
						||
| 
								 | 
							
								using System.ComponentModel.DataAnnotations;
							 | 
						||
| 
								 | 
							
								namespace GestionIntegral.Api.Dtos.Distribucion
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public class UpdateSalidaOtroDestinoDto
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        // IdPublicacion, IdDestino y Fecha usualmente no se cambian en una "salida" ya registrada.
							 | 
						||
| 
								 | 
							
								        // Se podría permitir cambiar cantidad y observación.
							 | 
						||
| 
								 | 
							
								        [Required, Range(1, int.MaxValue)]
							 | 
						||
| 
								 | 
							
								        public int Cantidad { get; set; }
							 | 
						||
| 
								 | 
							
								        [StringLength(150)]
							 | 
						||
| 
								 | 
							
								        public string? Observacion { get; set; }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |