Orl 短網址,供三星、福斯使用

User.php 535B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace App;
  3. use Illuminate\Notifications\Notifiable;
  4. use Illuminate\Foundation\Auth\User as Authenticatable;
  5. class User extends Authenticatable
  6. {
  7. use Notifiable;
  8. /**
  9. * The attributes that are mass assignable.
  10. *
  11. * @var array
  12. */
  13. protected $fillable = [
  14. 'name',
  15. 'email',
  16. 'password',
  17. ];
  18. /**
  19. * The attributes that should be hidden for arrays.
  20. *
  21. * @var array
  22. */
  23. protected $hidden = [
  24. 'password',
  25. 'remember_token',
  26. ];
  27. }