thailanResponse.cs 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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 totalRevenueObj
  9. {
  10. [JsonProperty("stt")]
  11. public string stt { get; set; }
  12. [JsonProperty("date")]
  13. public string date { get; set; }
  14. [JsonProperty("totalUser")]
  15. public string totalUser { get; set; }
  16. [JsonProperty("totalTrans")]
  17. public string totalTrans { get; set; }
  18. [JsonProperty("totalTicket")]
  19. public string totalTicket { get; set; }
  20. [JsonProperty("totalMoney")]
  21. public string totalMoney { get; set; }
  22. [JsonProperty("totalWin")]
  23. public string totalWin { get; set; }
  24. [JsonProperty("moneyWin")]
  25. public string moneyWin { get; set; }
  26. [JsonProperty("profit")]
  27. public string profit { get; set; }
  28. public override string ToString()
  29. {
  30. return JsonConvert.SerializeObject(this);
  31. }
  32. }
  33. public class totalRevenueList : Response
  34. {
  35. [JsonProperty("list")]
  36. public totalRevenueObj[] list { get; set; }
  37. public override string ToString()
  38. {
  39. return JsonConvert.SerializeObject(this);
  40. }
  41. }
  42. public class detailPrizeObj
  43. {
  44. [JsonProperty("stt")]
  45. public string stt { get; set; }
  46. [JsonProperty("msisdn")]
  47. public string msisdn { get; set; }
  48. [JsonProperty("ticket")]
  49. public string ticket { get; set; }
  50. [JsonProperty("pack")]
  51. public string pack { get; set; }
  52. [JsonProperty("packId")]
  53. public string packId { get; set; }
  54. [JsonProperty("dateBuy")]
  55. public string dateBuy { get; set; }
  56. [JsonProperty("channel")]
  57. public string channel { get; set; }
  58. [JsonProperty("termId")]
  59. public string termId { get; set; }
  60. [JsonProperty("termDateStart")]
  61. public string termDateStart { get; set; }
  62. [JsonProperty("termDateEnd")]
  63. public string termDateEnd { get; set; }
  64. [JsonProperty("termDateRandom")]
  65. public string termDateRandom { get; set; }
  66. [JsonProperty("dateWin")]
  67. public string dateWin { get; set; }
  68. [JsonProperty("prizeCode")]
  69. public string prizeCode { get; set; }
  70. [JsonProperty("prizeName")]
  71. public string prizeName { get; set; }
  72. [JsonProperty("prizeMoney")]
  73. public string prizeMoney { get; set; }
  74. [JsonProperty("reuslt")]
  75. public string reuslt { get; set; }
  76. [JsonProperty("dateSendEvoucher")]
  77. public string dateSendEvoucher { get; set; }
  78. [JsonProperty("status")]
  79. public string status { get; set; }
  80. [JsonProperty("evoucher")]
  81. public string evoucher { get; set; }
  82. [JsonProperty("expireDate")]
  83. public string expireDate { get; set; }
  84. [JsonProperty("mt")]
  85. public string mt { get; set; }
  86. public override string ToString()
  87. {
  88. return JsonConvert.SerializeObject(this);
  89. }
  90. }
  91. public class detailPrizeList : Response
  92. {
  93. [JsonProperty("list")]
  94. public detailPrizeObj[] list { get; set; }
  95. public override string ToString()
  96. {
  97. return JsonConvert.SerializeObject(this);
  98. }
  99. }
  100. public class totalPrizeObj
  101. {
  102. [JsonProperty("stt")]
  103. public string stt { get; set; }
  104. [JsonProperty("prizeName")]
  105. public string prizeName { get; set; }
  106. [JsonProperty("totalTicket")]
  107. public string totalTicket { get; set; }
  108. [JsonProperty("totalPlayer")]
  109. public string totalPlayer { get; set; }
  110. [JsonProperty("totalMoney")]
  111. public string totalMoney { get; set; }
  112. public override string ToString()
  113. {
  114. return JsonConvert.SerializeObject(this);
  115. }
  116. }
  117. public class totalPrizeList : Response
  118. {
  119. [JsonProperty("list")]
  120. public totalPrizeObj[] list { get; set; }
  121. public override string ToString()
  122. {
  123. return JsonConvert.SerializeObject(this);
  124. }
  125. }
  126. public class detailTicketObj
  127. {
  128. [JsonProperty("stt")]
  129. public string stt { get; set; }
  130. [JsonProperty("msisdn")]
  131. public string msisdn { get; set; }
  132. [JsonProperty("ticket")]
  133. public string ticket { get; set; }
  134. [JsonProperty("dateBuy")]
  135. public string dateBuy { get; set; }
  136. [JsonProperty("pack")]
  137. public string pack { get; set; }
  138. [JsonProperty("packId")]
  139. public string packId { get; set; }
  140. [JsonProperty("packMoney")]
  141. public string packMoney { get; set; }
  142. [JsonProperty("termId")]
  143. public string termId { get; set; }
  144. [JsonProperty("termDateStart")]
  145. public string termDateStart { get; set; }
  146. [JsonProperty("termDateEnd")]
  147. public string termDateEnd { get; set; }
  148. [JsonProperty("termDateRandom")]
  149. public string termDateRandom { get; set; }
  150. [JsonProperty("mt")]
  151. public string mt { get; set; }
  152. [JsonProperty("channel")]
  153. public string channel { get; set; }
  154. public override string ToString()
  155. {
  156. return JsonConvert.SerializeObject(this);
  157. }
  158. }
  159. public class detailTicketList : Response
  160. {
  161. [JsonProperty("list")]
  162. public detailTicketObj[] list { get; set; }
  163. public override string ToString()
  164. {
  165. return JsonConvert.SerializeObject(this);
  166. }
  167. }
  168. public class detailEvoucherObj
  169. {
  170. [JsonProperty("stt")]
  171. public string stt { get; set; }
  172. [JsonProperty("msisdn")]
  173. public string msisdn { get; set; }
  174. [JsonProperty("evoucher")]
  175. public string evoucher { get; set; }
  176. [JsonProperty("money")]
  177. public string money { get; set; }
  178. [JsonProperty("status")]
  179. public string status { get; set; }
  180. [JsonProperty("expireDate")]
  181. public string expireDate { get; set; }
  182. [JsonProperty("createDate")]
  183. public string createDate { get; set; }
  184. [JsonProperty("sendDate")]
  185. public string sendDate { get; set; }
  186. public override string ToString()
  187. {
  188. return JsonConvert.SerializeObject(this);
  189. }
  190. }
  191. public class detailEvoucherList : Response
  192. {
  193. [JsonProperty("list")]
  194. public detailEvoucherObj[] list { get; set; }
  195. public override string ToString()
  196. {
  197. return JsonConvert.SerializeObject(this);
  198. }
  199. }
  200. public class totalEvoucherObj
  201. {
  202. [JsonProperty("stt")]
  203. public string stt { get; set; }
  204. [JsonProperty("money")]
  205. public string money { get; set; }
  206. [JsonProperty("total")]
  207. public string total { get; set; }
  208. public override string ToString()
  209. {
  210. return JsonConvert.SerializeObject(this);
  211. }
  212. }
  213. public class totalEvoucherList : Response
  214. {
  215. [JsonProperty("list")]
  216. public totalEvoucherObj[] list { get; set; }
  217. public override string ToString()
  218. {
  219. return JsonConvert.SerializeObject(this);
  220. }
  221. }
  222. }