HomeViewModel.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using LotteryWebApp.Service;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace LotteryWebApp.Models
  5. {
  6. public class HomeIndex_ViewModel
  7. {
  8. public string termType { get; set; }
  9. public Profile profile { get; set; }
  10. public UserStatus userStatus { get; set; }
  11. public List<Term> listTerm { get; set; }
  12. public String uuid { get; set; }
  13. public String subDomain { get; set; }
  14. public String topWinner { get; set; }
  15. public DateTime serverTime { get; set; }
  16. public double secondsUntilDraw { get; set; }
  17. public string bolet { get; set; }
  18. public string lastResult { get; set; }
  19. public string lastResultDate { get; set; }
  20. public string nextRoundDate { get; set; }
  21. }
  22. public class HomeTransfer_ViewModel
  23. {
  24. public string step { get; set; }
  25. public string code { get; set; }
  26. public string walletType { get; set; }
  27. public Profile profile { get; set; }
  28. public UserStatus userStatus { get; set; }
  29. public Transaction transaction { get; set; }
  30. public TransferMoneyRequest transferData { get; set; }
  31. public DateTime serverTime { get; set; }
  32. }
  33. public class HomeRules_ViewModel
  34. {
  35. public string termType { get; set; }
  36. public DateTime serverTime { get; set; }
  37. }
  38. public class HomeFAQ_ViewModel
  39. {
  40. public DateTime serverTime { get; set; }
  41. }
  42. public class HomeResults_ViewModel
  43. {
  44. public string termType { get; set; }
  45. public string fromDate { get; set; }
  46. public string toDate { get; set; }
  47. public DateTime serverTime { get; set; }
  48. }
  49. public class TermResultModel
  50. {
  51. public List<Term> listTerm { get; set; }
  52. public string termType { get; set; }
  53. public DateTime serverTime { get; set; }
  54. }
  55. public class TermResultHistoryModel
  56. {
  57. public List<Term> listTerm { get; set; }
  58. public string termType { get; set; }
  59. public string fromDate { get; set; }
  60. public string toDate { get; set; }
  61. public DateTime serverTime { get; set; }
  62. }
  63. public class UserTicketHistoryModel
  64. {
  65. public List<Ticket> listTicket { get; set; }
  66. public string termType { get; set; }
  67. public string status { get; set; }
  68. public string totalPage { get; set; }
  69. public string seqPage { get; set; }
  70. public DateTime serverTime { get; set; }
  71. }
  72. }