SPMS_API/SPMS.Application/DTOs/Notification/NotificationListRequestDto.cs
SEAN c29a48163d improvement: Notification 도메인 구축 (#247)
- Domain: NotificationCategory enum, Notification entity, INotificationRepository
- Infrastructure: NotificationConfiguration, NotificationRepository, AppDbContext/DI 등록
- Migration: AddNotificationTable 생성 및 적용
- Application: DTO 7개, INotificationService, NotificationService, DI 등록
- API: NotificationController (summary, list, read, read-all)

Closes #247
2026-02-26 09:44:28 +09:00

25 lines
563 B
C#

using System.Text.Json.Serialization;
namespace SPMS.Application.DTOs.Notification;
public class NotificationListRequestDto
{
[JsonPropertyName("page")]
public int Page { get; set; } = 1;
[JsonPropertyName("size")]
public int Size { get; set; } = 20;
[JsonPropertyName("category")]
public string? Category { get; set; }
[JsonPropertyName("from")]
public DateTime? From { get; set; }
[JsonPropertyName("to")]
public DateTime? To { get; set; }
[JsonPropertyName("is_read")]
public bool? IsRead { get; set; }
}