24 lines
394 B
PHP
24 lines
394 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Spatie\Permission\Models\Role as BaseRole;
|
||
|
|
||
|
class Role extends BaseRole
|
||
|
{
|
||
|
use HasFactory;
|
||
|
|
||
|
/**
|
||
|
* The attributes that are mass assignable.
|
||
|
*
|
||
|
* @var array<int, string>
|
||
|
*/
|
||
|
protected $fillable = [
|
||
|
'name',
|
||
|
'guard_name',
|
||
|
'power',
|
||
|
'color'
|
||
|
];
|
||
|
}
|