GoodsSearchParamBean.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php
  2. namespace App\Http\Bean\Util\Jutuike;
  3. use App\Http\Bean\BaseBean;
  4. class GoodsSearchParamBean extends BaseBean
  5. {
  6. /**
  7. * 推广位
  8. */
  9. private $sid;
  10. /**
  11. * 关键词
  12. */
  13. private $keyword;
  14. /**
  15. * 排序 1-综合排序,2-价格升序,3-销量降序 默认1
  16. */
  17. private $sort;
  18. /**
  19. * 来源 jd-京东,vip-唯品会,pdd-拼多多,kaola-考拉,taobao-淘宝 默认vip
  20. */
  21. private $source;
  22. /**
  23. * 第几页
  24. */
  25. private $page;
  26. /**
  27. * 每页显示多少,默认20
  28. */
  29. private $pageSize;
  30. /**
  31. * @return mixed
  32. */
  33. public function getSid()
  34. {
  35. return $this->sid;
  36. }
  37. /**
  38. * @param mixed $sid
  39. */
  40. public function setSid($sid): void
  41. {
  42. $this->sid = $sid;
  43. }
  44. /**
  45. * @return mixed
  46. */
  47. public function getKeyword()
  48. {
  49. return $this->keyword;
  50. }
  51. /**
  52. * @param mixed $keyword
  53. */
  54. public function setKeyword($keyword): void
  55. {
  56. $this->keyword = $keyword;
  57. }
  58. /**
  59. * @return mixed
  60. */
  61. public function getSort()
  62. {
  63. return $this->sort;
  64. }
  65. /**
  66. * @param mixed $sort
  67. */
  68. public function setSort($sort): void
  69. {
  70. $this->sort = $sort;
  71. }
  72. /**
  73. * @return mixed
  74. */
  75. public function getSource()
  76. {
  77. return $this->source;
  78. }
  79. /**
  80. * @param mixed $source
  81. */
  82. public function setSource($source): void
  83. {
  84. $this->source = $source;
  85. }
  86. /**
  87. * @return mixed
  88. */
  89. public function getPage()
  90. {
  91. return $this->page;
  92. }
  93. /**
  94. * @param mixed $page
  95. */
  96. public function setPage($page): void
  97. {
  98. $this->page = $page;
  99. }
  100. /**
  101. * @return mixed
  102. */
  103. public function getPageSize()
  104. {
  105. return $this->pageSize;
  106. }
  107. /**
  108. * @param mixed $pageSize
  109. */
  110. public function setPageSize($pageSize): void
  111. {
  112. $this->pageSize = $pageSize;
  113. }
  114. }