campaignAddObj.cs 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  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 campaignAddObj
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("campaignId")]
  15. public string campaignId { get; set; }
  16. [JsonProperty("serviceAddId")]
  17. public string serviceAddId { get; set; }
  18. [JsonProperty("isDelete")]
  19. public string isDelete { get; set; }
  20. [JsonProperty("note")]
  21. public string note { get; set; }
  22. [JsonProperty("usersCreated")]
  23. public string usersCreated { get; set; }
  24. [JsonProperty("dateCreated")]
  25. public string dateCreated { get; set; }
  26. [JsonProperty("usersUpdate")]
  27. public string usersUpdate { get; set; }
  28. [JsonProperty("dateUpdate")]
  29. public string dateUpdate { get; set; }
  30. [JsonProperty("ussdDisplay")]
  31. public string ussdDisplay { get; set; }
  32. [JsonProperty("keyRegister")]
  33. public string keyRegister { get; set; }
  34. [JsonProperty("serviceObj")]
  35. public serviceObj serviceObj { get; set; }
  36. public override string ToString()
  37. {
  38. return JsonConvert.SerializeObject(this);
  39. }
  40. }
  41. public class campaignAddObjList : Response
  42. {
  43. [JsonProperty("rowsOnPage")]
  44. public string rowsOnPage { get; set; }
  45. [JsonProperty("seqPage")]
  46. public string seqPage { get; set; }
  47. [JsonProperty("totalPage")]
  48. public string totalPage { get; set; }
  49. [JsonProperty("list")]
  50. public List<campaignAddObj> list { get; set; }
  51. public override string ToString()
  52. {
  53. return JsonConvert.SerializeObject(this);
  54. }
  55. }
  56. public class campaignBalObj
  57. {
  58. [JsonProperty("id")]
  59. public string id { get; set; }
  60. [JsonProperty("campaignId")]
  61. public string campaignId { get; set; }
  62. [JsonProperty("balanceId")]
  63. public string balanceId { get; set; }
  64. [JsonProperty("isDelete")]
  65. public string isDelete { get; set; }
  66. [JsonProperty("note")]
  67. public string note { get; set; }
  68. [JsonProperty("usersCreated")]
  69. public string usersCreated { get; set; }
  70. [JsonProperty("dateCreated")]
  71. public string dateCreated { get; set; }
  72. [JsonProperty("usersUpdate")]
  73. public string usersUpdate { get; set; }
  74. [JsonProperty("dateUpdate")]
  75. public string dateUpdate { get; set; }
  76. [JsonProperty("balanceObj")]
  77. public balanceObj balanceObj { get; set; }
  78. public override string ToString()
  79. {
  80. return JsonConvert.SerializeObject(this);
  81. }
  82. }
  83. public class campaignBalObjList : Response
  84. {
  85. [JsonProperty("rowsOnPage")]
  86. public string rowsOnPage { get; set; }
  87. [JsonProperty("seqPage")]
  88. public string seqPage { get; set; }
  89. [JsonProperty("totalPage")]
  90. public string totalPage { get; set; }
  91. [JsonProperty("list")]
  92. public List<campaignBalObj> list { get; set; }
  93. public override string ToString()
  94. {
  95. return JsonConvert.SerializeObject(this);
  96. }
  97. }
  98. public class campaignExpObj
  99. {
  100. [JsonProperty("id")]
  101. public string id { get; set; }
  102. [JsonProperty("campaignId")]
  103. public string campaignId { get; set; }
  104. [JsonProperty("expireId")]
  105. public string expireId { get; set; }
  106. [JsonProperty("isDelete")]
  107. public string isDelete { get; set; }
  108. [JsonProperty("note")]
  109. public string note { get; set; }
  110. [JsonProperty("usersCreated")]
  111. public string usersCreated { get; set; }
  112. [JsonProperty("dateCreated")]
  113. public string dateCreated { get; set; }
  114. [JsonProperty("usersUpdate")]
  115. public string usersUpdate { get; set; }
  116. [JsonProperty("dateUpdate")]
  117. public string dateUpdate { get; set; }
  118. [JsonProperty("expireDate")]
  119. public expireDate expireDate { get; set; }
  120. public override string ToString()
  121. {
  122. return JsonConvert.SerializeObject(this);
  123. }
  124. }
  125. public class campaignExpObjList : Response
  126. {
  127. [JsonProperty("rowsOnPage")]
  128. public string rowsOnPage { get; set; }
  129. [JsonProperty("seqPage")]
  130. public string seqPage { get; set; }
  131. [JsonProperty("totalPage")]
  132. public string totalPage { get; set; }
  133. [JsonProperty("list")]
  134. public List<campaignExpObj> list { get; set; }
  135. public override string ToString()
  136. {
  137. return JsonConvert.SerializeObject(this);
  138. }
  139. }
  140. public class campaignScObj
  141. {
  142. [JsonProperty("id")]
  143. public string id { get; set; }
  144. [JsonProperty("campaignId")]
  145. public string campaignId { get; set; }
  146. [JsonProperty("shortCodeId")]
  147. public string shortCodeId { get; set; }
  148. [JsonProperty("isDelete")]
  149. public string isDelete { get; set; }
  150. [JsonProperty("note")]
  151. public string note { get; set; }
  152. [JsonProperty("usersCreated")]
  153. public string usersCreated { get; set; }
  154. [JsonProperty("dateCreated")]
  155. public string dateCreated { get; set; }
  156. [JsonProperty("usersUpdate")]
  157. public string usersUpdate { get; set; }
  158. [JsonProperty("dateUpdate")]
  159. public string dateUpdate { get; set; }
  160. [JsonProperty("shortCodeObj")]
  161. public shortCodeObj shortCodeObj { get; set; }
  162. public override string ToString()
  163. {
  164. return JsonConvert.SerializeObject(this);
  165. }
  166. }
  167. public class campaignScObjList : Response
  168. {
  169. [JsonProperty("rowsOnPage")]
  170. public string rowsOnPage { get; set; }
  171. [JsonProperty("seqPage")]
  172. public string seqPage { get; set; }
  173. [JsonProperty("totalPage")]
  174. public string totalPage { get; set; }
  175. [JsonProperty("list")]
  176. public List<campaignScObj> list { get; set; }
  177. public override string ToString()
  178. {
  179. return JsonConvert.SerializeObject(this);
  180. }
  181. }
  182. public class campaignSubObj
  183. {
  184. [JsonProperty("id")]
  185. public string id { get; set; }
  186. [JsonProperty("campaignId")]
  187. public string campaignId { get; set; }
  188. [JsonProperty("subId")]
  189. public string subId { get; set; }
  190. [JsonProperty("isDelete")]
  191. public string isDelete { get; set; }
  192. [JsonProperty("note")]
  193. public string note { get; set; }
  194. [JsonProperty("usersCreated")]
  195. public string usersCreated { get; set; }
  196. [JsonProperty("dateCreated")]
  197. public string dateCreated { get; set; }
  198. [JsonProperty("usersUpdate")]
  199. public string usersUpdate { get; set; }
  200. [JsonProperty("dateUpdate")]
  201. public string dateUpdate { get; set; }
  202. [JsonProperty("listSubObj")]
  203. public listSubObj listSubObj { get; set; }
  204. public override string ToString()
  205. {
  206. return JsonConvert.SerializeObject(this);
  207. }
  208. }
  209. public class campaignSubObjList : Response
  210. {
  211. [JsonProperty("rowsOnPage")]
  212. public string rowsOnPage { get; set; }
  213. [JsonProperty("seqPage")]
  214. public string seqPage { get; set; }
  215. [JsonProperty("totalPage")]
  216. public string totalPage { get; set; }
  217. [JsonProperty("list")]
  218. public List<campaignSubObj> list { get; set; }
  219. public override string ToString()
  220. {
  221. return JsonConvert.SerializeObject(this);
  222. }
  223. }
  224. }