Configuration.php 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace ModulesGarden\ProxmoxAddon\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@modulesgarden.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. }