subObjRegist.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Newtonsoft.Json;
  6. namespace ResfullApi.Models
  7. {
  8. [Serializable]
  9. public class subCheckPlayGame: responseObjUtil
  10. {
  11. [JsonProperty("word")]
  12. public string word { get; set; }
  13. [JsonProperty("description")]
  14. public string description { get; set; }
  15. [JsonProperty("playId")]
  16. public string playId { get; set; }
  17. [JsonProperty("playKey")]
  18. public string playKey { get; set; }
  19. public override string ToString()
  20. {
  21. return JsonConvert.SerializeObject(this);
  22. }
  23. }
  24. public class subObjRegist
  25. {
  26. [JsonProperty("msisdn")]
  27. public string msisdn { get; set; }
  28. [JsonProperty("type")]
  29. public string type { get; set; }
  30. [JsonProperty("channel")]
  31. public string channel { get; set; }
  32. [JsonProperty("package")]
  33. public string package { get; set; }
  34. [JsonProperty("serviceId")]
  35. public string serviceid { get; set; }
  36. public override string ToString()
  37. {
  38. return JsonConvert.SerializeObject(this);
  39. }
  40. }
  41. public class playTop
  42. {
  43. [JsonProperty("msisdn")]
  44. public string msisdn { get; set; }
  45. [JsonProperty("totalScore")]
  46. public string totalScore { get; set; }
  47. [JsonProperty("totalTime")]
  48. public string totalTime { get; set; }
  49. }
  50. public class playTopList
  51. {
  52. [JsonProperty("status")]
  53. public string status { get; set; }
  54. [JsonProperty("message")]
  55. public string message { get; set; }
  56. [JsonProperty("listTop")]
  57. public playTop[] listTop { get; set; }
  58. public override string ToString()
  59. {
  60. return JsonConvert.SerializeObject(this);
  61. }
  62. }
  63. public class playWin
  64. {
  65. [JsonProperty("msisdn")]
  66. public string msisdn { get; set; }
  67. [JsonProperty("date")]
  68. public string date { get; set; }
  69. [JsonProperty("status")]
  70. public string status { get; set; }
  71. [JsonProperty("errCode")]
  72. public string errCode { get; set; }
  73. [JsonProperty("errMsg")]
  74. public string errMsg { get; set; }
  75. [JsonProperty("money")]
  76. public string money { get; set; }
  77. [JsonProperty("transCode")]
  78. public string transCode { get; set; }
  79. [JsonProperty("transDate")]
  80. public string transDate { get; set; }
  81. [JsonProperty("transAmount")]
  82. public string transAmount { get; set; }
  83. [JsonProperty("transFee")]
  84. public string transFee { get; set; }
  85. [JsonProperty("serviceId")]
  86. public string serviceId { get; set; }
  87. }
  88. public class playWinList
  89. {
  90. [JsonProperty("status")]
  91. public string status { get; set; }
  92. [JsonProperty("message")]
  93. public string message { get; set; }
  94. [JsonProperty("list")]
  95. public playWin[] list { get; set; }
  96. public override string ToString()
  97. {
  98. return JsonConvert.SerializeObject(this);
  99. }
  100. }
  101. }