<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use JMS\Serializer\Annotation AS JMS;
/**
* TaxExemption
*
* @ORM\Table(name="tax_exemption")
* @ORM\Entity(repositoryClass="App\Repository\TaxExemptionRepository")
*
*/
class TaxExemption
{
/**
* @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=50, nullable=true)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=10)
*/
private $code;
/**
* @var string
*
* @ORM\Column(name="description", type="string", length=255, nullable=true)
*/
private $description;
/**
* @var string
*
* @ORM\Column(name="details", type="string", length=1000, nullable=true)
*/
private $details;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\GroupTaxExemption", inversedBy="taxExemptions")
*/
private $group;
/**
* @return \Ramsey\Uuid\UuidInterface
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return TaxExemption
*/
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 TaxExemption
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set description
*
* @param string $description
*
* @return TaxExemption
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string $details
* @return TaxExemption
*/
public function setDetails($details)
{
$this->details = $details;
return $this;
}
/**
* @return GroupTaxExemption
*/
public function getGroup()
{
return $this->group;
}
/**
* @param mixed $group
*/
public function setGroup($group)
{
$this->group = $group;
return $this;
}
}