PairTwoSideAgree.php 535 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace App\Events;
  3. use Illuminate\Foundation\Events\Dispatchable;
  4. use Illuminate\Queue\SerializesModels;
  5. class PairTwoSideAgree
  6. {
  7. use Dispatchable;
  8. use SerializesModels;
  9. /** @var int 用户 */
  10. public $uid;
  11. /** @var int 匹配用户 */
  12. public $pairUid;
  13. /**
  14. * Create a new event instance.
  15. *
  16. * @param int $uid
  17. * @param int $pairUid
  18. */
  19. public function __construct(int $uid, int $pairUid)
  20. {
  21. $this->uid = $uid;
  22. $this->pairUid = $pairUid;
  23. }
  24. }