mtObj.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using CommonObj.model;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace CommonObj.lotoModel
  7. {
  8. public class mtObj
  9. {
  10. [JsonProperty("id")]
  11. public string id { get; set; }
  12. [JsonProperty("msisdn")]
  13. public string msisdn { get; set; }
  14. [JsonProperty("message")]
  15. public string message { get; set; }
  16. [JsonProperty("sendTime")]
  17. public string sendTime { get; set; }
  18. [JsonProperty("receiveTime")]
  19. public string receiveTime { get; set; }
  20. [JsonProperty("status")]
  21. public string status { get; set; }
  22. [JsonProperty("channel")]
  23. public string channel { get; set; }
  24. public override string ToString()
  25. {
  26. return JsonConvert.SerializeObject(this);
  27. }
  28. }
  29. public class mtList: Response
  30. {
  31. [JsonProperty("list")]
  32. public mtObj[] list { get; set; }
  33. public override string ToString()
  34. {
  35. return JsonConvert.SerializeObject(this);
  36. }
  37. }
  38. }