lotoDataObj.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. namespace ApiProcess.Models.bet
  7. {
  8. public class lotoDataObj
  9. {
  10. [JsonProperty("users")]
  11. public string users { get; set; }
  12. [JsonProperty("pin")]
  13. public string pin { get; set; }
  14. [JsonProperty("otp")]
  15. public string otp { get; set; }
  16. [JsonProperty("ip")]
  17. public string ip { get; set; }
  18. [JsonProperty("paramCode")]
  19. public string paramCode { get; set; }
  20. [JsonProperty("paramCodeGroup")]
  21. public string paramCodeGroup { get; set; }
  22. [JsonProperty("ticket")]
  23. public lotoTicket[] ticket { get; set; }
  24. public override string ToString()
  25. {
  26. return JsonConvert.SerializeObject(this);
  27. }
  28. public lotoDataObj()
  29. {
  30. }
  31. }
  32. public class lotoTicket
  33. {
  34. [JsonProperty("number")]
  35. public string number { get; set; }
  36. [JsonProperty("money")]
  37. public string money { get; set; }
  38. [JsonProperty("code")]
  39. public string code { get; set; }
  40. public override string ToString()
  41. {
  42. return JsonConvert.SerializeObject(this);
  43. }
  44. }
  45. }