23 lines
1.1 KiB
C#
23 lines
1.1 KiB
C#
|
|
// Este DTO es más complejo para mostrar la información de forma útil.
|
||
|
|
namespace GestionIntegral.Api.Dtos.Impresion
|
||
|
|
{
|
||
|
|
public class DetalleSeccionEnListadoDto
|
||
|
|
{
|
||
|
|
public int IdSeccion { get; set; }
|
||
|
|
public string NombreSeccion { get; set; } = string.Empty;
|
||
|
|
public int CantPag { get; set; }
|
||
|
|
public int IdRegPublicacionSeccion {get;set;} // Id_Tirada de bob_RegPublicaciones
|
||
|
|
}
|
||
|
|
public class TiradaDto
|
||
|
|
{
|
||
|
|
public int IdRegistroTirada { get; set; } // Id de bob_RegTiradas
|
||
|
|
public int IdPublicacion { get; set; }
|
||
|
|
public string NombrePublicacion { get; set; } = string.Empty;
|
||
|
|
public string Fecha { get; set; } = string.Empty; // yyyy-MM-dd
|
||
|
|
public int IdPlanta { get; set; }
|
||
|
|
public string NombrePlanta { get; set; } = string.Empty;
|
||
|
|
public int Ejemplares { get; set; }
|
||
|
|
public List<DetalleSeccionEnListadoDto> SeccionesImpresas { get; set; } = new List<DetalleSeccionEnListadoDto>();
|
||
|
|
public int TotalPaginasSumadas { get; set; } // Suma de CantPag de las secciones impresas
|
||
|
|
}
|
||
|
|
}
|