api code global jain
This commit is contained in:
37
app/Events/Report.php
Normal file
37
app/Events/Report.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class Report
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
public $user;
|
||||
public $type;
|
||||
public $reportedFor;
|
||||
public $reportSubject;
|
||||
public $description;
|
||||
|
||||
/**
|
||||
* Report constructor.
|
||||
* @param $user
|
||||
* @param $type
|
||||
* @param $reportedFor
|
||||
* @param $reportSubject
|
||||
* @param $description
|
||||
*
|
||||
*/
|
||||
public function __construct($user, $type, $reportedFor, $reportSubject, $description)
|
||||
{
|
||||
$this->user = $user;
|
||||
$this->type = $type;
|
||||
$this->reportedFor = $reportedFor;
|
||||
$this->reportSubject = $reportSubject;
|
||||
$this->description = $description;
|
||||
}
|
||||
}
|
||||
27
app/Events/UserConfirmation.php
Normal file
27
app/Events/UserConfirmation.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class UserConfirmation
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
public $user;
|
||||
public $otp;
|
||||
|
||||
/**
|
||||
* UserConfirmation constructor.
|
||||
* @param $user
|
||||
* @param $otp
|
||||
*/
|
||||
public function __construct($user,$otp)
|
||||
{
|
||||
$this->user = $user;
|
||||
$this->otp = $otp;
|
||||
}
|
||||
}
|
||||
30
app/Events/WrongChaturmas.php
Normal file
30
app/Events/WrongChaturmas.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class WrongChaturmas
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
public $user;
|
||||
public $santID;
|
||||
public $chaturmasID;
|
||||
public $description;
|
||||
|
||||
/**
|
||||
* WrongChaturmas constructor.
|
||||
* @param $user
|
||||
*/
|
||||
public function __construct($user, $santID, $chaturmasID, $description)
|
||||
{
|
||||
$this->user = $user;
|
||||
$this->santID = $santID;
|
||||
$this->chaturmasID = $chaturmasID;
|
||||
$this->description = $description;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user