User.php 555 B

123456789101112131415161718192021222324252627
  1. <?php namespace App;
  2. use Eloquent;
  3. use Illuminate\Auth\UserTrait;
  4. use Illuminate\Auth\UserInterface;
  5. use Illuminate\Auth\Reminders\RemindableTrait;
  6. use Illuminate\Auth\Reminders\RemindableInterface;
  7. class User extends Eloquent implements UserInterface, RemindableInterface {
  8. use UserTrait, RemindableTrait;
  9. /**
  10. * The database table used by the model.
  11. *
  12. * @var string
  13. */
  14. protected $table = 'users';
  15. /**
  16. * The attributes excluded from the model's JSON form.
  17. *
  18. * @var array
  19. */
  20. protected $hidden = ['password', 'remember_token'];
  21. }