using System.Text.Json.Serialization; namespace SPMS.Application.DTOs.Notice; public class NoticeListResponseDto { [JsonPropertyName("items")] public List Items { get; set; } = new(); [JsonPropertyName("pagination")] public PaginationDto Pagination { get; set; } = new(); } public class NoticeSummaryDto { [JsonPropertyName("notice_id")] public long NoticeId { get; set; } [JsonPropertyName("title")] public string Title { get; set; } = string.Empty; [JsonPropertyName("is_important")] public bool IsImportant { get; set; } [JsonPropertyName("created_at")] public DateTime CreatedAt { get; set; } } public class PaginationDto { [JsonPropertyName("page")] public int Page { get; set; } [JsonPropertyName("size")] public int Size { get; set; } [JsonPropertyName("total_count")] public int TotalCount { get; set; } [JsonPropertyName("total_pages")] public int TotalPages { get; set; } }