You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
476B

  1. <?php
  2. namespace Lc\ShopBundle\Model;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Lc\ShopBundle\Context\StatusInterface;
  5. trait StatusTrait
  6. {
  7. /**
  8. * @ORM\Column(type="float")
  9. */
  10. protected $status;
  11. public function getStatus(): ?float
  12. {
  13. return $this->status;
  14. }
  15. public function setStatus(float $status): self
  16. {
  17. $this->status = $status;
  18. return $this;
  19. }
  20. }