- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
-
-
- abstract class TaxRate extends AbstractEntity
- {
-
-
-
- protected $title;
-
-
-
- protected $value;
-
-
- public function __toString()
- {
- return $this->getTitle() ;
- }
-
- public function getTitle(): ?string
- {
- return $this->title;
- }
-
- public function setTitle(string $title): self
- {
- $this->title = $title;
-
- return $this;
- }
-
- public function getValue(): ?float
- {
- return $this->value;
- }
-
- public function setValue(float $value): self
- {
- $this->value = $value;
-
- return $this;
- }
- }
|