MasstransferExporter/MasstransferInfrastructure/Mqtt/Model/Payload.cs

12 lines
294 B
C#
Raw Normal View History

using Newtonsoft.Json;
2024-06-12 10:56:53 +00:00
namespace MasstransferCommunicate.Mqtt.Model;
public class Payload<T>
2024-06-12 10:56:53 +00:00
{
[JsonProperty("msgId")] public long MsgId { get; set; }
2024-06-12 10:56:53 +00:00
[JsonProperty("consumeTime")] public DateTime ConsumeTime { get; set; }
2024-06-12 10:56:53 +00:00
[JsonProperty("data")] public T Data { get; set; }
2024-06-12 10:56:53 +00:00
}