SPMS_API/SPMS.Application/DTOs/Webhook/WebhookPayloadDto.cs
2026-02-11 10:10:11 +09:00

19 lines
470 B
C#

using System.Text.Json.Serialization;
namespace SPMS.Application.DTOs.Webhook;
public class WebhookPayloadDto
{
[JsonPropertyName("event_type")]
public string EventType { get; set; } = string.Empty;
[JsonPropertyName("timestamp")]
public DateTime Timestamp { get; set; }
[JsonPropertyName("service_code")]
public string ServiceCode { get; set; } = string.Empty;
[JsonPropertyName("data")]
public object Data { get; set; } = new();
}