GoodsListParamBean.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?php
  2. namespace App\Http\Bean\Util\Jutuike;
  3. use App\Http\Bean\BaseBean;
  4. class GoodsListParamBean extends BaseBean
  5. {
  6. /**
  7. * 来源 jd-京东,vip-唯品会,pdd-拼多多,kaola-考拉,taobao-淘宝 默认vip
  8. */
  9. private $source;
  10. /**
  11. * 分类ID
  12. */
  13. private $cat;
  14. /**
  15. * 第几页
  16. */
  17. private $page;
  18. /**
  19. * 每页数量
  20. */
  21. private $pageSize;
  22. /**
  23. * @return mixed
  24. */
  25. public function getSource()
  26. {
  27. return $this->source;
  28. }
  29. /**
  30. * @param mixed $source
  31. */
  32. public function setSource($source): void
  33. {
  34. $this->source = $source;
  35. }
  36. /**
  37. * @return mixed
  38. */
  39. public function getCat()
  40. {
  41. return $this->cat;
  42. }
  43. /**
  44. * @param mixed $cat
  45. */
  46. public function setCat($cat): void
  47. {
  48. $this->cat = $cat;
  49. }
  50. /**
  51. * @return mixed
  52. */
  53. public function getPage()
  54. {
  55. return $this->page;
  56. }
  57. /**
  58. * @param mixed $page
  59. */
  60. public function setPage($page): void
  61. {
  62. $this->page = $page;
  63. }
  64. /**
  65. * @return mixed
  66. */
  67. public function getPageSize()
  68. {
  69. return $this->pageSize;
  70. }
  71. /**
  72. * @param mixed $pageSize
  73. */
  74. public function setPageSize($pageSize): void
  75. {
  76. $this->pageSize = $pageSize;
  77. }
  78. }