|
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; }
|
|
} |