- POST /v1/in/push/send/bulk: CSV 대량 발송 (비동기) - POST /v1/in/push/job/status: Job 상태 조회 - POST /v1/in/push/job/cancel: Job 취소 - BulkJobStore: Redis Hash 기반 Job 상태 관리 - PushWorker: Job 진행률 추적 및 취소 체크 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
773 B
C#
31 lines
773 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Push;
|
|
|
|
public class JobStatusResponseDto
|
|
{
|
|
[JsonPropertyName("job_id")]
|
|
public string JobId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("status")]
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("total_count")]
|
|
public int TotalCount { get; set; }
|
|
|
|
[JsonPropertyName("sent_count")]
|
|
public int SentCount { get; set; }
|
|
|
|
[JsonPropertyName("failed_count")]
|
|
public int FailedCount { get; set; }
|
|
|
|
[JsonPropertyName("progress")]
|
|
public int Progress { get; set; }
|
|
|
|
[JsonPropertyName("started_at")]
|
|
public DateTime? StartedAt { get; set; }
|
|
|
|
[JsonPropertyName("completed_at")]
|
|
public DateTime? CompletedAt { get; set; }
|
|
}
|