GetInfoTicket.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using Newtonsoft.Json;
  2. using SuperAdmin.Models.Object;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Threading.Tasks;
  7. namespace SuperAdmin.Models.Http
  8. {
  9. public class GetInfoTicketReq : Posting
  10. {
  11. public string gameId { get; set; }
  12. public string msisdn { get; set; }
  13. public string fromDate { get; set; }
  14. public string toDate { get; set; }
  15. public string rowsOnPage { get; set; }
  16. public string seqPage { get; set; }
  17. }
  18. public class TicketInfo
  19. {
  20. public string seq { get; set; }
  21. public string id { get; set; }
  22. public string billCode { get; set; }
  23. public string subId { get; set; }
  24. public string users { get; set; }
  25. public string date { get; set; }
  26. public string money { get; set; }
  27. public string gameId { get; set; }
  28. public string ticket { get; set; }
  29. public string randomId { get; set; }
  30. public string note { get; set; }
  31. }
  32. public class GetInfoTicketRes
  33. {
  34. public string rowsOnPage { get; set; }
  35. public string seqPage { get; set; }
  36. public string totalPage { get; set; }
  37. public object totalRow { get; set; }
  38. public List<TicketInfo> listTicketInfo { get; set; }
  39. public string responseCode { get; set; }
  40. public string responseMessage { get; set; }
  41. public GetInfoTicketRes() { }
  42. public static GetInfoTicketRes Parse(String json)
  43. {
  44. return JsonConvert.DeserializeObject<GetInfoTicketRes>(json);
  45. }
  46. }
  47. }