You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MessageModel.cs 627B

12345678910111213141516171819202122232425
  1. using Newtonsoft.Json;
  2. using Newtonsoft.Json.Linq;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace GpsCardGatewayPosition.Service.MqProducer.Model
  9. {
  10. public class MessageModel
  11. {
  12. [JsonProperty("messageId")]
  13. public string MessageId { get; set; } = default!;
  14. [JsonProperty("topic")]
  15. public string Topic { get; set; } = default!;
  16. [JsonProperty("time")]
  17. public string Time { get; set; } = default!;
  18. [JsonProperty("data")]
  19. public JObject Data { get; set; } = default!;
  20. }
  21. }