このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
2018-02-07 21:38:42 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
2020-02-10 14:24:05 +09:00
|
|
|
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
2018-02-07 21:38:42 +09:00
|
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
|
|
|
2020-02-10 14:24:05 +09:00
|
|
|
class User extends Authenticatable {
|
2018-02-07 21:38:42 +09:00
|
|
|
use Notifiable;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The attributes that are mass assignable.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $fillable = [
|
|
|
|
'username', 'email', 'password',
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The attributes that should be hidden for arrays.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $hidden = [
|
2018-04-11 18:37:06 +09:00
|
|
|
'password', 'salt', 'remember_token',
|
2018-02-07 21:38:42 +09:00
|
|
|
];
|
|
|
|
}
|
|
|
|
?>
|