kcal/app/Models/User.php

41 lines
683 B
PHP

<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
/**
* @mixin IdeHelperUser
*/
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* @inheritdoc
*/
protected $fillable = [
'name',
'email',
'password',
];
/**
* @inheritdoc
*/
protected $hidden = [
'password',
'remember_token',
];
/**
* @inheritdoc
*/
protected $casts = [
'email_verified_at' => 'datetime',
];
}