user permissions

This commit is contained in:
2018-12-01 21:08:29 -06:00
parent 36fd0b0c22
commit a34d4c6d25
8 changed files with 187 additions and 18 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserPermission extends Model
{
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'permission',
];
protected $table = 'user_permissions';
/**
* The attributes that should be hidden for arrays
*
* @var array
*/
protected $hidden = [];
protected $guarded = [];
}