Settings.php 609 B

123456789101112131415161718192021222324252627282930313233343536
  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. public $timestamps = false;
  21. /**
  22. * Attributes that should be mass-assignable.
  23. *
  24. * @var array
  25. */
  26. protected $fillable = [
  27. 'key',
  28. 'value',
  29. ];
  30. }