reportCountDailyObj.cs 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using CommonObj.model;
  6. using Newtonsoft.Json;
  7. namespace ResfullApi.Models
  8. {
  9. public class reportCountDailyObj
  10. {
  11. [JsonProperty("id")]
  12. public string id { get; set; }
  13. [JsonProperty("reportDate")]
  14. public string reportDate { get; set; }
  15. [JsonProperty("campaignId")]
  16. public string campaignId { get; set; }
  17. [JsonProperty("campaignName")]
  18. public string campaignName { get; set; }
  19. [JsonProperty("priority")]
  20. public string priority { get; set; }
  21. [JsonProperty("isDefault")]
  22. public string isDefault { get; set; }
  23. [JsonProperty("isMyService")]
  24. public string isMyService { get; set; }
  25. [JsonProperty("addType")]
  26. public string addType { get; set; }
  27. [JsonProperty("serviceId")]
  28. public string serviceId { get; set; }
  29. [JsonProperty("serviceName")]
  30. public string serviceName { get; set; }
  31. [JsonProperty("countSend1")]
  32. public string countSend1 { get; set; }
  33. [JsonProperty("countSuccess1")]
  34. public string countSuccess1 { get; set; }
  35. [JsonProperty("countFail1")]
  36. public string countFail1 { get; set; }
  37. [JsonProperty("countPress1")]
  38. public string countPress1 { get; set; }
  39. [JsonProperty("countSend2")]
  40. public string countSend2 { get; set; }
  41. [JsonProperty("countPress2")]
  42. public string countPress2 { get; set; }
  43. [JsonProperty("countRegSuccess")]
  44. public string countRegSuccess { get; set; }
  45. [JsonProperty("countRegFail")]
  46. public string countRegFail { get; set; }
  47. [JsonProperty("insertTime")]
  48. public string insertTime { get; set; }
  49. public override string ToString()
  50. {
  51. return JsonConvert.SerializeObject(this);
  52. }
  53. }
  54. public class reportCountDailyObjList : Response
  55. {
  56. [JsonProperty("rowsOnPage")]
  57. public string rowsOnPage { get; set; }
  58. [JsonProperty("seqPage")]
  59. public string seqPage { get; set; }
  60. [JsonProperty("totalPage")]
  61. public string totalPage { get; set; }
  62. [JsonProperty("list")]
  63. public reportCountDailyObj[] list { get; set; }
  64. public override string ToString()
  65. {
  66. return JsonConvert.SerializeObject(this);
  67. }
  68. }
  69. public class reportErrorDailyObj
  70. {
  71. [JsonProperty("id")]
  72. public string id { get; set; }
  73. [JsonProperty("reportDate")]
  74. public string reportDate { get; set; }
  75. [JsonProperty("campaignId")]
  76. public string campaignId { get; set; }
  77. [JsonProperty("serviceId")]
  78. public string serviceId { get; set; }
  79. [JsonProperty("errorCode")]
  80. public string errorCode { get; set; }
  81. [JsonProperty("countNum")]
  82. public string countNum { get; set; }
  83. [JsonProperty("insertTime")]
  84. public string insertTime { get; set; }
  85. public override string ToString()
  86. {
  87. return JsonConvert.SerializeObject(this);
  88. }
  89. }
  90. public class reportErrorDailyObjList : Response
  91. {
  92. [JsonProperty("list")]
  93. public reportErrorDailyObj[] list { get; set; }
  94. public override string ToString()
  95. {
  96. return JsonConvert.SerializeObject(this);
  97. }
  98. }
  99. public class hourlyImpressionsObj
  100. {
  101. [JsonProperty("hourLabel")]
  102. public string hourLabel { get; set; }
  103. [JsonProperty("hourValue")]
  104. public string hourValue { get; set; }
  105. [JsonProperty("campaignId")]
  106. public string campaignId { get; set; }
  107. [JsonProperty("campaignName")]
  108. public string campaignName { get; set; }
  109. [JsonProperty("serviceId")]
  110. public string serviceId { get; set; }
  111. [JsonProperty("serviceName")]
  112. public string serviceName { get; set; }
  113. [JsonProperty("countImpressions")]
  114. public string countImpressions { get; set; }
  115. public override string ToString()
  116. {
  117. return JsonConvert.SerializeObject(this);
  118. }
  119. }
  120. public class hourlyImpressionsObjList : Response
  121. {
  122. [JsonProperty("list")]
  123. public hourlyImpressionsObj[] list { get; set; }
  124. public override string ToString()
  125. {
  126. return JsonConvert.SerializeObject(this);
  127. }
  128. }
  129. public class pushUssdDetailObj
  130. {
  131. [JsonProperty("id")]
  132. public string id { get; set; }
  133. [JsonProperty("requestId")]
  134. public string requestId { get; set; }
  135. [JsonProperty("campaignId")]
  136. public string campaignId { get; set; }
  137. [JsonProperty("campaignName")]
  138. public string campaignName { get; set; }
  139. [JsonProperty("serviceId")]
  140. public string serviceId { get; set; }
  141. [JsonProperty("msisdn")]
  142. public string msisdn { get; set; }
  143. [JsonProperty("sendTime")]
  144. public string sendTime { get; set; }
  145. [JsonProperty("sendStatus")]
  146. public string sendStatus { get; set; }
  147. [JsonProperty("totalStep")]
  148. public string totalStep { get; set; }
  149. [JsonProperty("isStep1")]
  150. public string isStep1 { get; set; }
  151. [JsonProperty("step1Time")]
  152. public string step1Time { get; set; }
  153. [JsonProperty("isStep2")]
  154. public string isStep2 { get; set; }
  155. [JsonProperty("step2Time")]
  156. public string step2Time { get; set; }
  157. [JsonProperty("errorCode")]
  158. public string errorCode { get; set; }
  159. [JsonProperty("isSuccess")]
  160. public string isSuccess { get; set; }
  161. [JsonProperty("insertTime")]
  162. public string insertTime { get; set; }
  163. [JsonProperty("lastUpdate")]
  164. public string lastUpdate { get; set; }
  165. }
  166. public class pushUssdDetailObjList : Response
  167. {
  168. [JsonProperty("rowsOnPage")]
  169. public string rowsOnPage { get; set; }
  170. [JsonProperty("seqPage")]
  171. public string seqPage { get; set; }
  172. [JsonProperty("totalPage")]
  173. public string totalPage { get; set; }
  174. [JsonProperty("list")]
  175. public pushUssdDetailObj[] list { get; set; }
  176. public override string ToString()
  177. {
  178. return JsonConvert.SerializeObject(this);
  179. }
  180. }
  181. }