cmsTicketInfo.cs 1.7 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 cmsTicketInfo
  9. {
  10. [JsonProperty("seq")]
  11. public string seq { get; set; }
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("billCode")]
  15. public string billCode { get; set; }
  16. [JsonProperty("subId")]
  17. public string subId { get; set; }
  18. [JsonProperty("users")]
  19. public string users { get; set; }
  20. [JsonProperty("date")]
  21. public string date { get; set; }
  22. [JsonProperty("money")]
  23. public string money { get; set; }
  24. [JsonProperty("gameId")]
  25. public string gameId { get; set; }
  26. [JsonProperty("ticket")]
  27. public string ticket { get; set; }
  28. [JsonProperty("note")]
  29. public string note { get; set; }
  30. [JsonProperty("randomId")]
  31. public string randomId { get; set; }
  32. public override string ToString()
  33. {
  34. return JsonConvert.SerializeObject(this);
  35. }
  36. }
  37. public class cmsTicketInfoList : 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("listTicketInfo")]
  48. public cmsTicketInfo[] listTicketInfo { get; set; }
  49. public override string ToString()
  50. {
  51. return JsonConvert.SerializeObject(this);
  52. }
  53. }
  54. }