- POST /v1/in/push/log 엔드포인트 추가 - PushSendLogRepository (페이징, 필터링: message_code, device_id, status, 날짜범위) - PushService.GetLogAsync 구현 - 누락된 Push DTO 파일 포함 (PushSendRequestDto, PushSendResponseDto, PushSendTagRequestDto)
28 lines
649 B
C#
28 lines
649 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Push;
|
|
|
|
public class PushLogRequestDto
|
|
{
|
|
[JsonPropertyName("page")]
|
|
public int Page { get; set; } = 1;
|
|
|
|
[JsonPropertyName("size")]
|
|
public int Size { get; set; } = 20;
|
|
|
|
[JsonPropertyName("message_code")]
|
|
public string? MessageCode { get; set; }
|
|
|
|
[JsonPropertyName("device_id")]
|
|
public long? DeviceId { 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; }
|
|
}
|