OrderStatus.php 1.1 KB

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