Auth.php 610 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace App\Repositories\Models\Base;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Auth extends Model
  5. {
  6. /**
  7. * @var string
  8. */
  9. protected $table = 'base_auth';
  10. /**
  11. * The attributes that are mass assignable.
  12. *
  13. * @var array
  14. */
  15. protected $fillable = [
  16. 'user_id',
  17. 'type',
  18. 'identifier',
  19. 'credential',
  20. 'source_id',
  21. 'source_type',
  22. 'status',
  23. ];
  24. /**
  25. * The attributes excluded from the model's JSON form.
  26. *
  27. * @var array
  28. */
  29. protected $hidden = [
  30. 'credential'
  31. ];
  32. }