123456789101112131415161718192021222324252627 |
- <?php namespace App;
- use Illuminate\Auth\Authenticatable;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Auth\Passwords\CanResetPassword;
- use Illuminate\Contracts\Auth\User as UserContract;
- use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
- class User extends Model implements UserContract, CanResetPasswordContract {
- use Authenticatable, CanResetPassword;
- /**
- * The database table used by the model.
- *
- * @var string
- */
- protected $table = 'users';
- /**
- * The attributes excluded from the model's JSON form.
- *
- * @var array
- */
- protected $hidden = ['password', 'remember_token'];
- }
|