mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 18:14:09 -08:00
33 lines
752 B
PHP
33 lines
752 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class CheckoutableCheckedOut
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
public $checkoutable;
|
|
public $checkedOutTo;
|
|
public $checkedOutBy;
|
|
public $note;
|
|
public $originalValues;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($checkoutable, $checkedOutTo, User $checkedOutBy, $note, $originalValues = [])
|
|
{
|
|
$this->checkoutable = $checkoutable;
|
|
$this->checkedOutTo = $checkedOutTo;
|
|
$this->checkedOutBy = $checkedOutBy;
|
|
$this->note = $note;
|
|
$this->originalValues = $originalValues;
|
|
}
|
|
}
|