namespace Application.Features.Admin.Mail.Search; public sealed class Response { public int Total { get; init; } public int Pending { get; init; } public int Processing { get; init; } public int Sent { get; init; } public int Failed { get; init; } public required IReadOnlyList List { get; init; } public sealed class Row { public int Num { get; init; } public long ID { get; init; } public required string ToAddress { get; init; } public required string Subject { get; init; } public byte Status { get; init; } public required string StatusName { get; init; } public int RetryCount { get; init; } public int MaxRetryCount { get; init; } public DateTime NextRetryAt { get; init; } public string? LastError { get; init; } public string? Category { get; init; } public DateTime CreatedAt { get; init; } public DateTime? ProcessedAt { get; init; } public DateTime? FailedAt { get; init; } } }