betGetTerm.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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 betGetTerm
  9. {
  10. [JsonProperty("seq")]
  11. public string seq { get; set; }
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("status")]
  15. public string status { get; set; }
  16. [JsonProperty("date_start")]
  17. public string date_start { get; set; }
  18. [JsonProperty("date_end")]
  19. public string date_end { get; set; }
  20. [JsonProperty("date_random")]
  21. public string date_random { get; set; }
  22. [JsonProperty("money_winner")]
  23. public string money_winner { get; set; }
  24. [JsonProperty("gameId")]
  25. public string gameId { get; set; }
  26. [JsonProperty("result")]
  27. public string result { get; set; }
  28. [JsonProperty("split")]
  29. public string split { get; set; }
  30. [JsonProperty("countDownSeconds")]
  31. public string countDownSeconds { get; set; }
  32. [JsonProperty("isEvening")]
  33. public string isEvening { get; set; }
  34. [JsonProperty("numberGame")]
  35. public string numberGame { get; set; }
  36. [JsonProperty("win4Game")]
  37. public string win4Game { get; set; }
  38. [JsonProperty("bolet")]
  39. public string bolet { get; set; }
  40. [JsonProperty("mariaj")]
  41. public string mariaj { get; set; }
  42. [JsonProperty("lotto3")]
  43. public string lotto3 { get; set; }
  44. public override string ToString()
  45. {
  46. return JsonConvert.SerializeObject(this);
  47. }
  48. }
  49. public class betGetTermList : ResCommnon
  50. {
  51. [JsonProperty("rowsOnPage")]
  52. public string rowsOnPage { get; set; }
  53. [JsonProperty("seqPage")]
  54. public string seqPage { get; set; }
  55. [JsonProperty("totalPage")]
  56. public string totalPage { get; set; }
  57. [JsonProperty("totalRow")]
  58. public string totalRow { get; set; }
  59. [JsonProperty("gameId")]
  60. public string gameId { get; set; }
  61. [JsonProperty("listTerm")]
  62. public betGetTerm[] listTerm { get; set; }
  63. public override string ToString()
  64. {
  65. return JsonConvert.SerializeObject(this);
  66. }
  67. }
  68. public class moneyPrizeOfTerm : ResCommnon
  69. {
  70. [JsonProperty("id")]
  71. public string id { get; set; }
  72. [JsonProperty("startDate")]
  73. public string startDate { get; set; }
  74. [JsonProperty("endDate")]
  75. public string endDate { get; set; }
  76. [JsonProperty("randomDate")]
  77. public string randomDate { get; set; }
  78. [JsonProperty("money")]
  79. public string money { get; set; }
  80. [JsonProperty("status")]
  81. public string status { get; set; }
  82. public override string ToString()
  83. {
  84. return JsonConvert.SerializeObject(this);
  85. }
  86. }
  87. public class prizeObj
  88. {
  89. [JsonProperty("id")]
  90. public string id { get; set; }
  91. [JsonProperty("name")]
  92. public string name { get; set; }
  93. [JsonProperty("code")]
  94. public string code { get; set; }
  95. [JsonProperty("money")]
  96. public string money { get; set; }
  97. public override string ToString()
  98. {
  99. return JsonConvert.SerializeObject(this);
  100. }
  101. }
  102. public class prizeList : ResCommnon
  103. {
  104. [JsonProperty("list")]
  105. public prizeObj[] list { get; set; }
  106. public override string ToString()
  107. {
  108. return JsonConvert.SerializeObject(this);
  109. }
  110. }
  111. }