20 lines
		
	
	
		
			819 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			819 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using System;
							 | 
						||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace GestionIntegral.Api.Dtos.Reportes.ViewModels
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public class TiradasPublicacionesSeccionesViewModel
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        public IEnumerable<TiradasPublicacionesSeccionesDto> Detalles { get; set; } = new List<TiradasPublicacionesSeccionesDto>();
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        public string NombrePublicacion { get; set; } = string.Empty;
							 | 
						||
| 
								 | 
							
								        public string MesConsultado { get; set; } = string.Empty;
							 | 
						||
| 
								 | 
							
								        public string FechaReporte { get; set; } = DateTime.Now.ToString("dd/MM/yyyy");
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        // Será nulo o vacío para la versión consolidada.
							 | 
						||
| 
								 | 
							
								        public string? NombrePlanta { get; set; } 
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        // Propiedad calculada para simplificar la lógica en la plantilla.
							 | 
						||
| 
								 | 
							
								        public bool EsConsolidado => string.IsNullOrEmpty(NombrePlanta);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |