Files
alliance-services/app/Models/Auth/UserRole.php
2026-03-07 21:17:53 -06:00

30 lines
477 B
PHP

<?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);
}
}