updated role middleware
This commit is contained in:
23
app/Models/User/AvailableUserRole.php
Normal file
23
app/Models/User/AvailableUserRole.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\User;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AvailableUserRole extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'available_user_roles';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attribute that are mass assignable
|
||||
*/
|
||||
protected $fillable = [
|
||||
'role',
|
||||
'rank',
|
||||
'description',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user