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