User.php 438 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App;
  3. use Illuminate\Foundation\Auth\User as BaseUser;
  4. class User extends BaseUser
  5. {
  6. /**
  7. * The attributes that are mass assignable.
  8. *
  9. * @var array
  10. */
  11. protected $fillable = [
  12. 'name', 'email', 'password',
  13. ];
  14. /**
  15. * The attributes excluded from the model's JSON form.
  16. *
  17. * @var array
  18. */
  19. protected $hidden = [
  20. 'password', 'remember_token',
  21. ];
  22. }