Configuration.php 990 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\Models\Whmcs;
  3. use \Illuminate\Database\Eloquent\Model as EloquentModel;
  4. /**
  5. * Description of Configuration
  6. *
  7. * @var setting
  8. * @var value
  9. * @var created_at
  10. * @var updated_at
  11. *
  12. * @author Paweł Złamaniec <pawel.zl@thurdata.com>
  13. */
  14. class Configuration extends EloquentModel
  15. {
  16. /**
  17. * Table name
  18. *
  19. * @var string
  20. */
  21. protected $table = 'tblconfiguration';
  22. protected $primaryKey = 'setting';
  23. /**
  24. * Eloquent fillable parameters
  25. * @var array
  26. */
  27. protected $fillable = ['setting', 'value', 'created_at', 'updated_at'];
  28. /**
  29. * Indicates if the model should soft delete.
  30. *
  31. * @var bool
  32. */
  33. protected $softDelete = false;
  34. /**
  35. * Indicates if the model should be timestamped.
  36. *
  37. * @var bool
  38. */
  39. public $timestamps = false;
  40. public function __construct(array $attributes = [])
  41. {
  42. parent::__construct($attributes);
  43. }
  44. }