- POST /v1/in/stats/history/list: 메시지별 발송 이력 목록 조회 (keyword/status/date 필터, 페이지네이션) - POST /v1/in/stats/history/detail: 특정 메시지 상세 이력 조회 (기본정보+집계+실패사유 Top 5+본문) - SendStatus.Determine() 규칙 재사용 Closes #233
25 lines
568 B
C#
25 lines
568 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Stats;
|
|
|
|
public class HistoryListRequestDto
|
|
{
|
|
[JsonPropertyName("page")]
|
|
public int Page { get; set; } = 1;
|
|
|
|
[JsonPropertyName("size")]
|
|
public int Size { get; set; } = 10;
|
|
|
|
[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; }
|
|
}
|