User.php 606 B

123456789101112131415161718192021222324252627
  1. <?php namespace App;
  2. use Illuminate\Auth\UserTrait;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Illuminate\Auth\Reminders\RemindableTrait;
  5. use Illuminate\Contracts\Auth\User as UserContract;
  6. use Illuminate\Contracts\Auth\Remindable as RemindableContract;
  7. class User extends Model implements UserContract, RemindableContract {
  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. }