This commit is contained in:
2026-03-07 21:17:53 -06:00
parent 11ca220a84
commit 1906ca329c
15 changed files with 135 additions and 17 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace App\Models\Auth;
use Illuminate\Database\Eloquent\Model;
class UserPermission extends Model
{
/**
* Database Table
*/
protected $table = 'user_permissions';
//Primary Key
public $primaryKey = 'id';
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'permission',
];
public function user() {
return $this->belongsTo(User::class);
}
}