using System; using System.Collections.Generic; namespace GestionIntegral.Api.Dtos.Reportes.ViewModels { public class TiradasPublicacionesSeccionesViewModel { public IEnumerable Detalles { get; set; } = new List(); 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); } }