19 lines
470 B
C#
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();
|
|
}
|