25 lines
552 B
PHP
Executable File
25 lines
552 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Database\Factories\ExpertFactory;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Notifications\Notifiable;
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Spatie\Permission\Traits\HasRoles;
|
|
|
|
/**
|
|
* @method roles()
|
|
* @method permissions()
|
|
*/
|
|
class Expert extends Authenticatable
|
|
{
|
|
/** @use HasFactory<ExpertFactory> */
|
|
|
|
use Notifiable,HasFactory,HasRoles;
|
|
|
|
protected $guarded = ['id'];
|
|
protected string $guard_name = 'web';
|
|
}
|