balanceObj.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using ApiProcess.Models.bet;
  6. using CommonObj.model;
  7. using Newtonsoft.Json;
  8. namespace ApiProcess.Models.balance
  9. {
  10. public class balanceObj
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("code")]
  15. public string code { get; set; }
  16. [JsonProperty("name")]
  17. public string name { get; set; }
  18. [JsonProperty("min")]
  19. public string min { get; set; }
  20. [JsonProperty("max")]
  21. public string max { get; set; }
  22. [JsonProperty("note")]
  23. public string isActive { get; set; }
  24. [JsonProperty("isActive")]
  25. public string note { get; set; }
  26. [JsonProperty("usersCreated")]
  27. public string usersCreated { get; set; }
  28. [JsonProperty("dateCreated")]
  29. public string dateCreated { get; set; }
  30. [JsonProperty("usersUpdate")]
  31. public string usersUpdate { get; set; }
  32. [JsonProperty("dateUpdate")]
  33. public string dateUpdate { get; set; }
  34. public override string ToString()
  35. {
  36. return JsonConvert.SerializeObject(this);
  37. }
  38. }
  39. public class balanceList : Response
  40. {
  41. [JsonProperty("rowsOnPage")]
  42. public string rowsOnPage { get; set; }
  43. [JsonProperty("seqPage")]
  44. public string seqPage { get; set; }
  45. [JsonProperty("totalPage")]
  46. public string totalPage { get; set; }
  47. [JsonProperty("balanceList")]
  48. public balanceObj[] list { get; set; }
  49. public override string ToString()
  50. {
  51. return JsonConvert.SerializeObject(this);
  52. }
  53. }
  54. public class shortCodeObj
  55. {
  56. [JsonProperty("id")]
  57. public string id { get; set; }
  58. [JsonProperty("name")]
  59. public string name { get; set; }
  60. public override string ToString()
  61. {
  62. return JsonConvert.SerializeObject(this);
  63. }
  64. }
  65. public class shortCodeList : Response
  66. {
  67. public shortCodeObj[] list { get; set; }
  68. public override string ToString()
  69. {
  70. return JsonConvert.SerializeObject(this);
  71. }
  72. }
  73. public class listSubObj
  74. {
  75. [JsonProperty("id")]
  76. public string id { get; set; }
  77. [JsonProperty("code")]
  78. public string code { get; set; }
  79. [JsonProperty("name")]
  80. public string name { get; set; }
  81. [JsonProperty("note")]
  82. public string note { get; set; }
  83. [JsonProperty("usersCreated")]
  84. public string usersCreated { get; set; }
  85. [JsonProperty("dateCreated")]
  86. public string dateCreated { get; set; }
  87. [JsonProperty("usersUpdate")]
  88. public string usersUpdate { get; set; }
  89. [JsonProperty("dateUpdate")]
  90. public string dateUpdate { get; set; }
  91. [JsonProperty("listType")]
  92. public string listType { get; set; }
  93. [JsonProperty("status")]
  94. public string status { get; set; }
  95. [JsonProperty("totalFile")]
  96. public string totalFile { get; set; }
  97. [JsonProperty("totalRecord")]
  98. public string totalRecord { get; set; }
  99. [JsonProperty("totalSuccess")]
  100. public string totalSuccess { get; set; }
  101. [JsonProperty("totalFalse")]
  102. public string totalFalse { get; set; }
  103. [JsonProperty("isDelete")]
  104. public string isDelete { get; set; }
  105. [JsonProperty("isActive")]
  106. public string isActive { get; set; }
  107. public override string ToString()
  108. {
  109. return JsonConvert.SerializeObject(this);
  110. }
  111. }
  112. public class listSubList : Response
  113. {
  114. [JsonProperty("rowsOnPage")]
  115. public string rowsOnPage { get; set; }
  116. [JsonProperty("seqPage")]
  117. public string seqPage { get; set; }
  118. [JsonProperty("totalPage")]
  119. public string totalPage { get; set; }
  120. [JsonProperty("list")]
  121. public listSubObj[] list { get; set; }
  122. public override string ToString()
  123. {
  124. return JsonConvert.SerializeObject(this);
  125. }
  126. }
  127. public class listSubFileObj
  128. {
  129. [JsonProperty("id")]
  130. public string id { get; set; }
  131. [JsonProperty("code")]
  132. public string code { get; set; }
  133. [JsonProperty("name")]
  134. public string name { get; set; }
  135. [JsonProperty("note")]
  136. public string note { get; set; }
  137. [JsonProperty("usersCreated")]
  138. public string usersCreated { get; set; }
  139. [JsonProperty("dateCreated")]
  140. public string dateCreated { get; set; }
  141. [JsonProperty("usersUpdate")]
  142. public string usersUpdate { get; set; }
  143. [JsonProperty("dateUpdate")]
  144. public string dateUpdate { get; set; }
  145. [JsonProperty("fileId")]
  146. public string fileId { get; set; }
  147. [JsonProperty("fileName")]
  148. public string fileName { get; set; }
  149. [JsonProperty("status")]
  150. public string status { get; set; }
  151. [JsonProperty("totalRecord")]
  152. public string totalRecord { get; set; }
  153. [JsonProperty("totalSuccess")]
  154. public string totalSuccess { get; set; }
  155. [JsonProperty("totalFalse")]
  156. public string totalFalse { get; set; }
  157. [JsonProperty("isDelete")]
  158. public string isDelete { get; set; }
  159. [JsonProperty("startDate")]
  160. public string startDate { get; set; }
  161. [JsonProperty("endDate")]
  162. public string endDate { get; set; }
  163. public override string ToString()
  164. {
  165. return JsonConvert.SerializeObject(this);
  166. }
  167. }
  168. public class listSubFileList : Response
  169. {
  170. [JsonProperty("rowsOnPage")]
  171. public string rowsOnPage { get; set; }
  172. [JsonProperty("seqPage")]
  173. public string seqPage { get; set; }
  174. [JsonProperty("totalPage")]
  175. public string totalPage { get; set; }
  176. [JsonProperty("list")]
  177. public listSubFileObj[] list { get; set; }
  178. public override string ToString()
  179. {
  180. return JsonConvert.SerializeObject(this);
  181. }
  182. }
  183. }