GetProductGenerateParamBean.php 826 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. namespace App\Http\Bean\Util\Wechat\Miniprograme;
  3. use App\Http\Bean\BaseBean;
  4. class GetProductGenerateParamBean extends BaseBean
  5. {
  6. /**
  7. * 推广位ID
  8. * @var string $pid
  9. */
  10. private $pid;
  11. /**
  12. * 商品列表
  13. * @var array $productList
  14. */
  15. private $productList;
  16. /**
  17. * @return string
  18. */
  19. public function getPid()
  20. {
  21. return $this->pid;
  22. }
  23. /**
  24. * @param string $pid
  25. */
  26. public function setPid(string $pid)
  27. {
  28. $this->pid = $pid;
  29. }
  30. /**
  31. * @return array
  32. */
  33. public function getProductList()
  34. {
  35. return $this->productList;
  36. }
  37. /**
  38. * @param array $productList
  39. */
  40. public function setProductList(array $productList)
  41. {
  42. $this->productList = $productList;
  43. }
  44. }