19 lines
		
	
	
		
			539 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			539 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using System;
							 | 
						||
| 
								 | 
							
								using System.ComponentModel.DataAnnotations;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace GestionIntegral.Api.Dtos.Distribucion
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public class CreateNovedadCanillaDto
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        // IdCanilla se tomará de la ruta o de un campo oculto si el POST es a un endpoint genérico.
							 | 
						||
| 
								 | 
							
								        // Por ahora, lo incluimos si el endpoint es /api/novedadescanilla
							 | 
						||
| 
								 | 
							
								        [Required]
							 | 
						||
| 
								 | 
							
								        public int IdCanilla { get; set; }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        [Required]
							 | 
						||
| 
								 | 
							
								        public DateTime Fecha { get; set; }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        [MaxLength(250)]
							 | 
						||
| 
								 | 
							
								        public string? Detalle { get; set; }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |