19 lines
615 B
C#
19 lines
615 B
C#
|
|
using System;
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
namespace GestionIntegral.Api.Dtos.Impresion
|
||
|
|
{
|
||
|
|
public class CambiarEstadoBobinaDto
|
||
|
|
{
|
||
|
|
[Required]
|
||
|
|
public int NuevoEstadoId { get; set; } // ID del nuevo estado (ej. 2 para "En Uso", 3 para "Dañada")
|
||
|
|
|
||
|
|
public int? IdPublicacion { get; set; } // Requerido si NuevoEstadoId es "En Uso"
|
||
|
|
public int? IdSeccion { get; set; } // Requerido si NuevoEstadoId es "En Uso"
|
||
|
|
|
||
|
|
[StringLength(250)]
|
||
|
|
public string? Obs { get; set; }
|
||
|
|
|
||
|
|
[Required]
|
||
|
|
public DateTime FechaCambioEstado { get; set; }
|
||
|
|
}
|
||
|
|
}
|