mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-06-06 20:37:32 +00:00
29 lines
507 B
PHP
29 lines
507 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Enums\Role;
|
|
use App\Models\Organization;
|
|
use App\Models\User;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
|
|
class MemberAdding
|
|
{
|
|
use Dispatchable;
|
|
|
|
public User $user;
|
|
|
|
public Organization $organization;
|
|
|
|
public Role $role;
|
|
|
|
public function __construct(User $user, Organization $organization, Role $role)
|
|
{
|
|
$this->user = $user;
|
|
$this->organization = $organization;
|
|
$this->role = $role;
|
|
}
|
|
}
|