OrderRefundApplyEvent.php 598 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: CJVV
  5. * Date: 2021/3/17
  6. * Time: 16:36
  7. */
  8. namespace app\common\events\order;
  9. use app\common\events\Event;
  10. use app\common\models\refund\RefundApply;
  11. /**
  12. * 退款申请
  13. * Class OrderRefundApplyEvent
  14. * @package app\common\events\order
  15. */
  16. class OrderRefundApplyEvent extends Event
  17. {
  18. /**
  19. * @var RefundApply
  20. */
  21. protected $refund;
  22. public function __construct($refund)
  23. {
  24. $this->refund= $refund;
  25. }
  26. /**
  27. * @return RefundApply
  28. */
  29. public function getModel()
  30. {
  31. return $this->refund;
  32. }
  33. }