Admin.php 504 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Illuminate\Foundation\Auth\User as Authenticatable;
  5. class Admin extends Authenticatable
  6. {
  7. protected $guard_name = 'admin';
  8. protected $table = 'admins';
  9. protected $fillable = [
  10. 'name', 'email', 'password','attachment_id','status'
  11. ];
  12. /**
  13. * The attributes that should be hidden for arrays.
  14. *
  15. * @var array
  16. */
  17. protected $hidden = [
  18. 'password', 'remember_token',
  19. ];
  20. }