cmsTicketWin.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 cmsTicketWin
  9. {
  10. [JsonProperty("seq")]
  11. public string seq { get; set; }
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("date")]
  15. public string date { get; set; }
  16. [JsonProperty("msisdn")]
  17. public string msisdn { get; set; }
  18. [JsonProperty("gameId")]
  19. public string gameId { get; set; }
  20. [JsonProperty("randomId")]
  21. public string randomId { get; set; }
  22. [JsonProperty("betId")]
  23. public string betId { get; set; }
  24. [JsonProperty("isPayOnline")]
  25. public string isPayOnline { get; set; }
  26. [JsonProperty("isPay")]
  27. public string isPay { get; set; }
  28. [JsonProperty("winnerCode")]
  29. public string winnerCode { get; set; }
  30. [JsonProperty("winnerName")]
  31. public string winnerName { get; set; }
  32. public override string ToString()
  33. {
  34. return JsonConvert.SerializeObject(this);
  35. }
  36. }
  37. public class cmsTicketWinList : ResCommnon
  38. {
  39. [JsonProperty("rowsOnPage")]
  40. public string rowsOnPage { get; set; }
  41. [JsonProperty("seqPage")]
  42. public string seqPage { get; set; }
  43. [JsonProperty("totalPage")]
  44. public string totalPage { get; set; }
  45. [JsonProperty("totalRow")]
  46. public string totalRow { get; set; }
  47. [JsonProperty("listTicketWin")]
  48. public cmsTicketWin[] listTicketWin { get; set; }
  49. public override string ToString()
  50. {
  51. return JsonConvert.SerializeObject(this);
  52. }
  53. }
  54. }