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

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Models\Auth;
use Illuminate\Database\Eloquent\Model;
class UserRole extends Model
{
/**
* Database Table
*/
protected $table = 'user_roles';
//Primary Key
public $primaryKey = 'id';
/**
* Attributes which are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'role',
];
public function user() {
return $this->belongsTo(User::class);
}
}