<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * GroupTaxExemption * * @ORM\Table(name="group_tax_exemption") * @ORM\Entity(repositoryClass="App\Repository\GroupTaxExemptionRepository") */class GroupTaxExemption{ /** * @var \Ramsey\Uuid\UuidInterface * * @ORM\Id * @ORM\Column(type="uuid", unique=true) * @ORM\GeneratedValue(strategy="CUSTOM") * @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator") */ private $id; /** * @var string * * @ORM\Column(name="name", type="string", length=255) */ private $name; /** * @var string * * @ORM\Column(name="code", type="string", length=255, unique=true) */ private $code; /** * @ORM\OneToMany(targetEntity="App\Entity\TaxExemption", mappedBy="group") */ private $taxExemptions; /** * Get id. */ public function getId() { return $this->id; } /** * Set name. * * @param string $name * * @return GroupTaxExemption */ public function setName($name) { $this->name = $name; return $this; } /** * Get name. * * @return string */ public function getName() { return $this->name; } /** * Set code. * * @param string $code * * @return GroupTaxExemption */ public function setCode($code) { $this->code = $code; return $this; } /** * Get code. * * @return string */ public function getCode() { return $this->code; } /** * @return []TaxExemption */ public function getTaxExemptions() { return $this->taxExemptions; } /** * @param mixed $taxExemptions * @return GroupTaxExemption */ public function setTaxExemptions($taxExemptions) { $this->taxExemptions = $taxExemptions; return $this; }}