<?php

namespace DefStudio\GameEngine\Events\Organizations;

use DefStudio\GameEngine\Models\User;
use DefStudio\GameEngine\Models\Organization;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;

class UserSubscribedToOrganization
{
    use Dispatchable;
    use InteractsWithSockets;

    public function __construct(
        public User $user,
        public Organization $organization
    ) {
    }
}
