betTicketWinObj.cs 2.1 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 betTicketWinObj
  9. {
  10. [JsonProperty("seq")]
  11. public string seq { get; set; }
  12. [JsonProperty("msisdn")]
  13. public string msisdn { get; set; }
  14. [JsonProperty("tiket")]
  15. public string tiket { get; set; }
  16. [JsonProperty("ticketDate")]
  17. public string ticketDate { get; set; }
  18. [JsonProperty("ticketMoney")]
  19. public string ticketMoney { get; set; }
  20. [JsonProperty("winnerCode")]
  21. public string winnerCode { get; set; }
  22. [JsonProperty("winnerDetail")]
  23. public string winnerDetail { get; set; }
  24. [JsonProperty("randomId")]
  25. public string randomId { get; set; }
  26. [JsonProperty("termDateStart")]
  27. public string termDateStart { get; set; }
  28. [JsonProperty("termDateEnd")]
  29. public string termDateEnd { get; set; }
  30. [JsonProperty("termDateRandom")]
  31. public string termDateRandom { get; set; }
  32. [JsonProperty("eCreateDate")]
  33. public string eCreateDate { get; set; }
  34. [JsonProperty("eExpireDate")]
  35. public string eExpireDate { get; set; }
  36. [JsonProperty("evoucher")]
  37. public string evoucher { get; set; }
  38. [JsonProperty("emoney")]
  39. public string emoney { get; set; }
  40. public override string ToString()
  41. {
  42. return JsonConvert.SerializeObject(this);
  43. }
  44. }
  45. public class betTicketWinObjList : ResCommnon
  46. {
  47. [JsonProperty("rowsOnPage")]
  48. public string rowsOnPage { get; set; }
  49. [JsonProperty("seqPage")]
  50. public string seqPage { get; set; }
  51. [JsonProperty("totalPage")]
  52. public string totalPage { get; set; }
  53. [JsonProperty("totalRow")]
  54. public string totalRow { get; set; }
  55. [JsonProperty("list")]
  56. public betTicketWinObj[] list { get; set; }
  57. public override string ToString()
  58. {
  59. return JsonConvert.SerializeObject(this);
  60. }
  61. }
  62. }