|
1234567891011121314151617181920212223242526 |
- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\ShopBundle\Context\StatusInterface;
-
- trait StatusTrait
- {
- /**
- * @ORM\Column(type="float")
- */
- protected $status;
-
- public function getStatus(): ?float
- {
- return $this->status;
- }
-
- public function setStatus(float $status): self
- {
- $this->status = $status;
-
- return $this;
- }
- }
|