src/Flexy/ShopBundle/Entity/Taxes/ValueAddedTax.php line 9
<?php
namespace App\Flexy\ShopBundle\Entity\Taxes;
use App\Repository\Flexy\ShopBundle\Entity\Taxes\ValueAddedTaxRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ValueAddedTaxRepository::class)]
class ValueAddedTax
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column]
private ?float $value = null;
public function __toString()
{
return $this->name;
}
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getValue(): ?float
{
return $this->value;
}
public function setValue(float $value): self
{
$this->value = $value;
return $this;
}
}