3fd7845bc8
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
401 B
PHP
19 lines
401 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Illuminate\Notifications\Notifiable;
|
|
use Spatie\Permission\Traits\HasRoles;
|
|
|
|
class User extends Authenticatable
|
|
{
|
|
use HasRoles, Notifiable;
|
|
|
|
protected $fillable = ['name', 'email', 'password'];
|
|
|
|
protected $hidden = ['password', 'remember_token'];
|
|
|
|
protected $casts = ['password' => 'hashed'];
|
|
}
|