CustomFieldValue.php 1.0 KB

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