snipe-it/app/Events/LicenseSeatCheckedOut.php

34 lines
753 B
PHP
Raw Normal View History

2018-07-21 05:01:30 -07:00
<?php
namespace App\Events;
use App\Models\Actionlog;
use App\Models\License;
use App\Models\LicenseSeat;
2018-07-21 05:01:30 -07:00
use App\Models\User;
use Illuminate\Broadcasting\Channel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class LicenseSeatCheckedOut
2018-07-21 05:01:30 -07:00
{
use Dispatchable, SerializesModels;
public $licenseSeat;
2018-07-21 05:01:30 -07:00
public $checkedOutTo;
public $logEntry;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(LicenseSeat $licenseSeat, $checkedOutTo, User $checkedOutBy, $note)
2018-07-21 05:01:30 -07:00
{
$this->licenseSeat = $licenseSeat;
2018-07-21 05:01:30 -07:00
$this->checkedOutTo = $checkedOutTo;
$this->checkedOutBy = $checkedOutBy;
$this->note = $note;
2018-07-21 05:01:30 -07:00
}
}