UrsProfitGeneratedEvent.php 502 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace App\Module\UrsPromotion\Events;
  3. use Illuminate\Foundation\Events\Dispatchable;
  4. use Illuminate\Queue\SerializesModels;
  5. use App\Module\UrsPromotion\Models\UrsProfit;
  6. /**
  7. * URS团队收益生成事件
  8. */
  9. class UrsProfitGeneratedEvent
  10. {
  11. use Dispatchable, SerializesModels;
  12. /**
  13. * 收益记录
  14. */
  15. public UrsProfit $profit;
  16. /**
  17. * 创建事件实例
  18. */
  19. public function __construct(UrsProfit $profit)
  20. {
  21. $this->profit = $profit;
  22. }
  23. }