lksObjBet.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. // {"users":"50940227941","serviceId":"30","listNumber":"1$12$23%65$23$23","money":"30","times":"3"}
  10. public class lksObjBet
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("userId")]
  15. public string userId { get; set; }
  16. [JsonProperty("listNumber")]
  17. public string listNumber { get; set; }
  18. [JsonProperty("listNumberSort")]
  19. public string listNumberSort { get; set; }
  20. [JsonProperty("randomResult")]
  21. public string randomResult { get; set; }
  22. [JsonProperty("dateBet")]
  23. public string dateBet { get; set; }
  24. [JsonProperty("typeBet")]
  25. public string typeBet { get; set; }
  26. [JsonProperty("moneyBet")]
  27. public string moneyBet { get; set; }
  28. [JsonProperty("moneyWin")]
  29. public string moneyWin { get; set; }
  30. [JsonProperty("randomId")]
  31. public string randomId { get; set; }
  32. [JsonProperty("randomStatus")]
  33. public string randomStatus { get; set; }
  34. [JsonProperty("randomStartDate")]
  35. public string randomStartDate { get; set; }
  36. [JsonProperty("randomEndDate")]
  37. public string randomEndDate { get; set; }
  38. [JsonProperty("randomSysDate")]
  39. public string randomSysDate { get; set; }
  40. //Thong tin usser
  41. [JsonProperty("users")]
  42. public string users { get; set; }
  43. [JsonProperty("serviceId")]
  44. public string serviceid { get; set; }
  45. [JsonProperty("fullName")]
  46. public string fullName { get; set; }
  47. [JsonProperty("sex")]
  48. public string sex { get; set; }
  49. [JsonProperty("address")]
  50. public string address { get; set; }
  51. [JsonProperty("provinceId")]
  52. public string provinceId { get; set; }
  53. [JsonProperty("cardNumber")]
  54. public string cardNumber { get; set; }
  55. [JsonProperty("email")]
  56. public string email { get; set; }
  57. [JsonProperty("company")]
  58. public string company { get; set; }
  59. [JsonProperty("description")]
  60. public string description { get; set; }
  61. [JsonProperty("picture")]
  62. public string picture { get; set; }
  63. [JsonProperty("sexNeed")]
  64. public string sexNeed { get; set; }
  65. [JsonProperty("birthday")]
  66. public string birthday { get; set; }
  67. [JsonProperty("height")]
  68. public string height { get; set; }
  69. [JsonProperty("weight")]
  70. public string weight { get; set; }
  71. [JsonProperty("work")]
  72. public string work { get; set; }
  73. public override string ToString()
  74. {
  75. return JsonConvert.SerializeObject(this);
  76. }
  77. }
  78. }