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.

23 line
365B

  1. <?php
  2. namespace Lc\SovBundle\Doctrine\Extension;
  3. use Doctrine\ORM\Mapping as ORM;
  4. trait StatusTrait
  5. {
  6. #[ORM\Column(type: 'float')]
  7. protected $status;
  8. public function getStatus(): ?float
  9. {
  10. return $this->status;
  11. }
  12. public function setStatus(float $status): self
  13. {
  14. $this->status = $status;
  15. return $this;
  16. }
  17. }