betTicketObj.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. namespace ApiProcess.Models.bet
  7. {
  8. public class betTicketObj
  9. {
  10. [JsonProperty("seq")]
  11. public string seq { get; set; }
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("money")]
  15. public string money { get; set; }
  16. [JsonProperty("code")]
  17. public string code { get; set; }
  18. [JsonProperty("createDate")]
  19. public string createDate { get; set; }
  20. [JsonProperty("termId")]
  21. public string termId { get; set; }
  22. [JsonProperty("status")]
  23. public string status { get; set; }
  24. [JsonProperty("paymentCode")]
  25. public string paymentCode { get; set; }
  26. [JsonProperty("paymentMessage")]
  27. public string paymentMessage { get; set; }
  28. [JsonProperty("split")]
  29. public string split { get; set; }
  30. [JsonProperty("billCode")]
  31. public string billCode { get; set; }
  32. [JsonProperty("channel")]
  33. public string channel { get; set; }
  34. [JsonProperty("channelPayment")]
  35. public string channelPayment { get; set; }
  36. [JsonProperty("termStartDate")]
  37. public string termStartDate { get; set; }
  38. [JsonProperty("termEndDate")]
  39. public string termEndDate { get; set; }
  40. [JsonProperty("termRandomDate")]
  41. public string termRandomDate { get; set; }
  42. [JsonProperty("termResult")]
  43. public string termResult { get; set; }
  44. [JsonProperty("isEvening")]
  45. public string isEvening { get; set; }
  46. [JsonProperty("moneyWin")]
  47. public string moneyWin { get; set; }
  48. [JsonProperty("gameId")]
  49. public string gameId { get; set; }
  50. public override string ToString()
  51. {
  52. return JsonConvert.SerializeObject(this);
  53. }
  54. }
  55. public class betTicketObjList : ResCommnon
  56. {
  57. [JsonProperty("rowsOnPage")]
  58. public string rowsOnPage { get; set; }
  59. [JsonProperty("seqPage")]
  60. public string seqPage { get; set; }
  61. [JsonProperty("totalPage")]
  62. public string totalPage { get; set; }
  63. [JsonProperty("listTicket")]
  64. public betTicketObj[] listTicket { get; set; }
  65. public override string ToString()
  66. {
  67. return JsonConvert.SerializeObject(this);
  68. }
  69. }
  70. }