- POST /v1/in/stats/history/export 엔드포인트 추가 - history/list와 동일 필터(keyword/status/date) 기준 엑셀 내보내기 - PushSendLogRepository에서 GroupBy 쿼리를 private helper로 리팩토링 - ClosedXML로 엑셀 생성 (메시지코드/제목/서비스명/발송일시/대상수/성공/실패/오픈율/상태) Closes #191
19 lines
427 B
C#
19 lines
427 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Stats;
|
|
|
|
public class HistoryExportRequestDto
|
|
{
|
|
[JsonPropertyName("keyword")]
|
|
public string? Keyword { get; set; }
|
|
|
|
[JsonPropertyName("status")]
|
|
public string? Status { get; set; }
|
|
|
|
[JsonPropertyName("start_date")]
|
|
public string? StartDate { get; set; }
|
|
|
|
[JsonPropertyName("end_date")]
|
|
public string? EndDate { get; set; }
|
|
}
|