LoveOzyEvent.php 604 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: yunzhong
  5. * Date: 2019/12/16
  6. * Time: 15:35
  7. */
  8. namespace app\common\events\finance;
  9. use app\common\events\Event;
  10. class LoveOzyEvent extends Event
  11. {
  12. public $award ;
  13. public $orderGoods;
  14. public function __construct($goods,$award)
  15. {
  16. $this->orderGoods = $goods;
  17. $this->award = $award;
  18. }
  19. public function setStatus($status)
  20. {
  21. $this->award = $status;
  22. }
  23. public function getStatus()
  24. {
  25. return $this->award;
  26. }
  27. public function getOrder()
  28. {
  29. return $this->orderGoods;
  30. }
  31. }