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