using System.Text.Json.Serialization; using SPMS.Application.DTOs.Notice; namespace SPMS.Application.DTOs.Message; public class MessageListResponseDto { [JsonPropertyName("items")] public List Items { get; set; } = new(); [JsonPropertyName("pagination")] public PaginationDto Pagination { get; set; } = new(); } public class MessageSummaryDto { [JsonPropertyName("message_code")] public string MessageCode { get; set; } = string.Empty; [JsonPropertyName("title")] public string Title { get; set; } = string.Empty; [JsonPropertyName("is_active")] public bool IsActive { get; set; } [JsonPropertyName("created_at")] public DateTime CreatedAt { get; set; } [JsonPropertyName("service_name")] public string ServiceName { get; set; } = string.Empty; [JsonPropertyName("service_code")] public string ServiceCode { get; set; } = string.Empty; [JsonPropertyName("latest_send_status")] public string LatestSendStatus { get; set; } = "pending"; }