5 use Illuminate\Contracts\Auth\MustVerifyEmail;
6 use Illuminate\Database\Eloquent\Factories\HasFactory;
7 use Illuminate\Foundation\Auth\User as Authenticatable;
8 use Illuminate\Notifications\Notifiable;
9 use Laravel\Sanctum\HasApiTokens;
11 class User extends Authenticatable
13 use HasApiTokens, HasFactory, Notifiable;
16 * The attributes that are mass assignable.
18 * @var array<int, string>
20 protected $fillable = [
27 * The attributes that should be hidden for serialization.
29 * @var array<int, string>
37 * The attributes that should be cast.
39 * @var array<string, string>
42 'email_verified_at' => 'datetime',