Settings.php 577 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. class Settings extends Model
  6. {
  7. use HasFactory;
  8. /**
  9. * The database table used by the model.
  10. *
  11. * @var string
  12. */
  13. protected $table = 'settings';
  14. /**
  15. * The database primary key value.
  16. *
  17. * @var string
  18. */
  19. protected $primaryKey = 'id';
  20. /**
  21. * Attributes that should be mass-assignable.
  22. *
  23. * @var array
  24. */
  25. protected $fillable = [
  26. 'key',
  27. 'value',
  28. ];
  29. }