mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
33 lines
687 B
PHP
33 lines
687 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Actionlog;
|
|
use App\Models\Asset;
|
|
use App\Models\User;
|
|
use Illuminate\Broadcasting\Channel;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class AssetCheckedOut
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
public $asset;
|
|
public $checkedOutTo;
|
|
public $logEntry;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Asset $asset, $checkedOutTo, User $checkedOutBy, $note)
|
|
{
|
|
$this->asset = $asset;
|
|
$this->checkedOutTo = $checkedOutTo;
|
|
$this->checkedOutBy = $checkedOutBy;
|
|
$this->note = $note;
|
|
}
|
|
}
|