using System.Text.Json.Serialization; using SPMS.Application.DTOs.Notice; namespace SPMS.Application.DTOs.Stats; public class HistoryListResponseDto { [JsonPropertyName("items")] public List Items { get; set; } = []; [JsonPropertyName("pagination")] public PaginationDto Pagination { get; set; } = new(); } public class HistoryListItemDto { [JsonPropertyName("message_code")] public string MessageCode { get; set; } = string.Empty; [JsonPropertyName("title")] public string Title { get; set; } = string.Empty; [JsonPropertyName("service_name")] public string ServiceName { get; set; } = string.Empty; [JsonPropertyName("sent_at")] public DateTime? SentAt { get; set; } [JsonPropertyName("target_count")] public int TargetCount { get; set; } [JsonPropertyName("success_count")] public int SuccessCount { get; set; } [JsonPropertyName("fail_count")] public int FailCount { get; set; } [JsonPropertyName("open_rate")] public double OpenRate { get; set; } [JsonPropertyName("status")] public string Status { get; set; } = string.Empty; }