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