cmsRevenue.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 cmsRevenue
  9. {
  10. [JsonProperty("date")]
  11. public string date { get; set; }
  12. [JsonProperty("gameId")]
  13. public string gameId { get; set; }
  14. [JsonProperty("totalUser")]
  15. public string totalUser { get; set; }
  16. [JsonProperty("totalTicket")]
  17. public string totalTicket { get; set; }
  18. [JsonProperty("totalMoney")]
  19. public string totalMoney { get; set; }
  20. [JsonProperty("totalTicketWin")]
  21. public string totalTicketWin { get; set; }
  22. [JsonProperty("totalMoneyWin")]
  23. public string totalMoneyWin { get; set; }
  24. [JsonProperty("rate")]
  25. public string rate { get; set; }
  26. public override string ToString()
  27. {
  28. return JsonConvert.SerializeObject(this);
  29. }
  30. }
  31. public class cmsRevenueList : ResCommnon
  32. {
  33. [JsonProperty("rowsOnPage")]
  34. public string rowsOnPage { get; set; }
  35. [JsonProperty("seqPage")]
  36. public string seqPage { get; set; }
  37. [JsonProperty("totalPage")]
  38. public string totalPage { get; set; }
  39. [JsonProperty("totalRow")]
  40. public string totalRow { get; set; }
  41. [JsonProperty("listRevenue")]
  42. public cmsRevenue[] listRevenue { get; set; }
  43. public override string ToString()
  44. {
  45. return JsonConvert.SerializeObject(this);
  46. }
  47. }
  48. }