reportByCampaign.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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 reportByCampaign
  11. {
  12. [JsonProperty("seq")]
  13. public string seq { get; set; }
  14. [JsonProperty("code")]
  15. public string code { get; set; }
  16. [JsonProperty("name")]
  17. public string name { get; set; }
  18. [JsonProperty("priority")]
  19. public string priority { get; set; }
  20. [JsonProperty("ruleAdd")]
  21. public string ruleAdd { get; set; }
  22. [JsonProperty("addType")]
  23. public string addType { get; set; }
  24. [JsonProperty("createDate")]
  25. public string createDate { get; set; }
  26. [JsonProperty("fromDate")]
  27. public string fromDate { get; set; }
  28. [JsonProperty("toDate")]
  29. public string toDate { get; set; }
  30. [JsonProperty("status")]
  31. public string status { get; set; }
  32. [JsonProperty("serviceCode")]
  33. public string serviceCode { get; set; }
  34. [JsonProperty("serviceName")]
  35. public string serviceName { get; set; }
  36. [JsonProperty("totalView")]
  37. public string totalView { get; set; }
  38. [JsonProperty("activation")]
  39. public string activation { get; set; }
  40. [JsonProperty("success")]
  41. public string success { get; set; }
  42. [JsonProperty("fail")]
  43. public string fail { get; set; }
  44. public override string ToString()
  45. {
  46. return JsonConvert.SerializeObject(this);
  47. }
  48. }
  49. public class reportByCampaignList : Response
  50. {
  51. [JsonProperty("list")]
  52. public reportByCampaign[] list { get; set; }
  53. public override string ToString()
  54. {
  55. return JsonConvert.SerializeObject(this);
  56. }
  57. }
  58. public class reportTotalByCampaign
  59. {
  60. [JsonProperty("seq")]
  61. public string seq { get; set; }
  62. [JsonProperty("campaignId")]
  63. public string campaignId { get; set; }
  64. [JsonProperty("campaignName")]
  65. public string campaignName { get; set; }
  66. [JsonProperty("priority")]
  67. public string priority { get; set; }
  68. [JsonProperty("campaignType")]
  69. public string campaignType { get; set; }
  70. [JsonProperty("serviceType")]
  71. public string serviceType { get; set; }
  72. [JsonProperty("serviceName")]
  73. public string serviceName { get; set; }
  74. [JsonProperty("totalView1")]
  75. public string totalView1 { get; set; }
  76. [JsonProperty("totalView2")]
  77. public string totalView2 { get; set; }
  78. [JsonProperty("activation1")]
  79. public string activation1 { get; set; }
  80. [JsonProperty("activation2")]
  81. public string activation2 { get; set; }
  82. [JsonProperty("success")]
  83. public string success { get; set; }
  84. [JsonProperty("fail")]
  85. public string fail { get; set; }
  86. public override string ToString()
  87. {
  88. return JsonConvert.SerializeObject(this);
  89. }
  90. }
  91. public class reportTotalByCampaignList : Response
  92. {
  93. [JsonProperty("list")]
  94. public List<reportTotalByCampaign>list { get; set; }
  95. public override string ToString()
  96. {
  97. return JsonConvert.SerializeObject(this);
  98. }
  99. }
  100. }