26 lines
984 B
C#
26 lines
984 B
C#
|
|
namespace GestionIntegral.Api.Dtos.Comunicaciones
|
||
|
|
{
|
||
|
|
// DTO para el feedback inmediato
|
||
|
|
public class LoteDeEnvioResumenDto
|
||
|
|
{
|
||
|
|
public int IdLoteDeEnvio { get; set; }
|
||
|
|
public string Periodo { get; set; } = string.Empty;
|
||
|
|
public int TotalCorreos { get; set; }
|
||
|
|
public int TotalEnviados { get; set; }
|
||
|
|
public int TotalFallidos { get; set; }
|
||
|
|
public List<EmailLogDto> ErroresDetallados { get; set; } = new();
|
||
|
|
}
|
||
|
|
|
||
|
|
// DTO para la tabla de historial
|
||
|
|
public class LoteDeEnvioHistorialDto
|
||
|
|
{
|
||
|
|
public int IdLoteDeEnvio { get; set; }
|
||
|
|
public DateTime FechaInicio { get; set; }
|
||
|
|
public string Periodo { get; set; } = string.Empty;
|
||
|
|
public string Estado { get; set; } = string.Empty;
|
||
|
|
public int TotalCorreos { get; set; }
|
||
|
|
public int TotalEnviados { get; set; }
|
||
|
|
public int TotalFallidos { get; set; }
|
||
|
|
public string NombreUsuarioDisparo { get; set; } = string.Empty;
|
||
|
|
}
|
||
|
|
}
|