SPMS_API/SPMS.Application/DTOs/Push/PushLogExportRequestDto.cs
SEAN 3a973f56ce feat: 상세 로그 다운로드 API 구현 (#140)
- POST /v1/in/push/log/export (EXP-02, API_SPMS_07_PUSH_09)
- 발송 로그 CSV 파일 다운로드 (페이징 없이 전체 반환)
- 최대 조회 기간 30일, 최대 100,000건 제한
- message_code, device_id, status 필터 지원

Closes #140
2026-02-11 09:43:47 +09:00

25 lines
713 B
C#

using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace SPMS.Application.DTOs.Push;
public class PushLogExportRequestDto
{
[JsonPropertyName("message_code")]
public string? MessageCode { get; set; }
[JsonPropertyName("device_id")]
public long? DeviceId { get; set; }
[JsonPropertyName("status")]
public string? Status { get; set; }
[Required(ErrorMessage = "start_date는 필수입니다.")]
[JsonPropertyName("start_date")]
public string StartDate { get; set; } = string.Empty;
[Required(ErrorMessage = "end_date는 필수입니다.")]
[JsonPropertyName("end_date")]
public string EndDate { get; set; } = string.Empty;
}