Admin.php 524 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: vien
  5. * Date: 2019/3/17
  6. * Time: 1:59 PM
  7. */
  8. namespace App\Models\Auth;
  9. use App\Models\Base\AuthBaseModel;
  10. use Illuminate\Notifications\Notifiable;
  11. use Illuminate\Foundation\Auth\User as Authenticatable;
  12. class Admin extends AuthBaseModel
  13. {
  14. use Notifiable;
  15. protected $table = 'blog_admins';
  16. protected $guard = 'admin';
  17. protected $fillable = [
  18. 'name', 'email', 'password',
  19. ];
  20. protected $hidden = [
  21. 'password', 'remember_token',
  22. ];
  23. }