GetGoodsListResultBean.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. namespace App\Http\Bean\Controller\Buy;
  3. /**
  4. * @SWG\Definition(
  5. * )
  6. */
  7. class GetGoodsListResultBean
  8. {
  9. /**
  10. * @SWG\Property(
  11. * description="总数量"
  12. * )
  13. * @var string
  14. */
  15. public $total;
  16. /**
  17. * @SWG\Property(
  18. * description="数据",
  19. * @SWG\Items(
  20. * @SWG\Property(
  21. * property="goods_name",
  22. * type="string",
  23. * description="商品名称"
  24. * ),
  25. * @SWG\Property(
  26. * property="goods_thumb_url",
  27. * type="string",
  28. * description="商品图片"
  29. * ),
  30. * @SWG\Property(
  31. * property="market_price",
  32. * type="string",
  33. * description="市场价格"
  34. * ),
  35. * @SWG\Property(
  36. * property="price",
  37. * type="string",
  38. * description="优惠价"
  39. * ),
  40. * @SWG\Property(
  41. * property="goods_id",
  42. * type="string",
  43. * description="商品ID"
  44. * ),
  45. * @SWG\Property(
  46. * property="commission",
  47. * type="string",
  48. * description="佣金(单位为分)"
  49. * )
  50. * )
  51. * )
  52. * @var array
  53. */
  54. private $list;
  55. }