MasstransferExporter/MasstransferInfrastructure/Mqtt/Model/Payload.cs

12 lines
294 B
C#

using Newtonsoft.Json;
namespace MasstransferCommunicate.Mqtt.Model;
public class Payload<T>
{
[JsonProperty("msgId")] public string MsgId { get; set; }
[JsonProperty("consumeTime")] public string ConsumeTime { get; set; }
[JsonProperty("data")] public T Data { get; set; }
}