mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
32 lines
672 B
PHP
32 lines
672 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Accessory;
|
|
use App\Models\Actionlog;
|
|
use App\Models\User;
|
|
use Illuminate\Broadcasting\Channel;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class AccessoryCheckedOut
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
public $accessory;
|
|
public $checkedOutTo;
|
|
public $logEntry;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Accessory $accessory, $checkedOutTo, Actionlog $logEntry)
|
|
{
|
|
$this->accessory = $accessory;
|
|
$this->checkedOutTo = $checkedOutTo;
|
|
$this->logEntry = $logEntry;
|
|
}
|
|
}
|