mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-06-15 05:22:44 +01:00
36 lines
642 B
PHP
36 lines
642 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 OrganizationInvitationAdding
|
|
{
|
|
use Dispatchable;
|
|
|
|
public Organization $organization;
|
|
|
|
public string $email;
|
|
|
|
public Role $role;
|
|
|
|
public User $inviter;
|
|
|
|
public function __construct(
|
|
Organization $organization,
|
|
string $email,
|
|
Role $role,
|
|
User $inviter
|
|
) {
|
|
$this->role = $role;
|
|
$this->email = $email;
|
|
$this->organization = $organization;
|
|
$this->inviter = $inviter;
|
|
}
|
|
}
|