23 lines
		
	
	
		
			790 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			790 B
		
	
	
	
		
			C#
		
	
	
	
	
	
|  | // (Para editar datos básicos de una bobina *Disponible*) | ||
|  | // Los cambios de estado tendrán DTOs dedicados. | ||
|  | using System.ComponentModel.DataAnnotations; | ||
|  | 
 | ||
|  | namespace GestionIntegral.Api.Dtos.Impresion | ||
|  | { | ||
|  |     public class UpdateStockBobinaDto | ||
|  |     { | ||
|  |         [Required] | ||
|  |         public int IdTipoBobina { get; set; } | ||
|  |         [Required, StringLength(15)] | ||
|  |         public string NroBobina { get; set; } = string.Empty; | ||
|  |         [Required, Range(1, int.MaxValue)] | ||
|  |         public int Peso { get; set; } | ||
|  |         [Required] | ||
|  |         public int IdPlanta { get; set; } | ||
|  |         [Required, StringLength(15)] | ||
|  |         public string Remito { get; set; } = string.Empty; | ||
|  |         [Required] | ||
|  |         public DateTime FechaRemito { get; set; } | ||
|  |         // No se puede cambiar el estado desde aquí directamente | ||
|  |     } | ||
|  | } |