CancelRequest.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. namespace ModulesGarden\Servers\ProxmoxVps\Core\Models\Whmcs;
  3. use \Illuminate\Database\Eloquent\Model as EloquentModel;
  4. /**
  5. * Description of Cancel Request
  6. *
  7. * @var int id
  8. * @var datetime date
  9. * @var int relid
  10. * @var string reason
  11. * @var string type
  12. * @var timestamp created_at
  13. * @var timestamp updated_at
  14. *
  15. * @author Paweł Złamaniec <pawel.zl@modulesgarden.com>
  16. */
  17. class CancelRequest extends EloquentModel
  18. {
  19. /**
  20. * Table name
  21. *
  22. * @var string
  23. */
  24. protected $table = 'tblcancelrequests';
  25. protected $primaryKey = 'id';
  26. /**
  27. * Eloquent guarded parameters
  28. * @var array
  29. */
  30. protected $guarded = ['id'];
  31. /**
  32. * Eloquent fillable parameters
  33. * @var array
  34. */
  35. protected $fillable = ['date', 'relid', 'reason', 'type', 'created_at', 'updated_at'];
  36. /**
  37. * Indicates if the model should soft delete.
  38. *
  39. * @var bool
  40. */
  41. protected $softDelete = false;
  42. /**
  43. * Indicates if the model should be timestamped.
  44. *
  45. * @var bool
  46. */
  47. public $timestamps = false;
  48. public function __construct(array $attributes = [])
  49. {
  50. parent::__construct($attributes);
  51. }
  52. }