<?phpnamespace Bundles\Settings\Entity;use Bundles\Settings\Repository\SettingsRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;use App\Entity\Customer;/** * @ORM\Entity(repositoryClass=SettingsRepository::class) */class Settings{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=6) */ private $type; /** * @ORM\Column(type="string", length=255) */ private $name; /** * @ORM\Column(type="string", length=255) */ private $value; /** * @ORM\Column(type="boolean") */ private $active = true; /** * @ORM\ManyToOne(targetEntity=Customer::class, inversedBy="settings") */ private $customer = null; /** * @ORM\Column(type="string", length=20, nullable=true) */ private $grouping; public function getId(): ?int { return $this->id; } public function getType() { return $this->type; } public function setType($type): self { $this->type = $type; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getValue(): ?string { return $this->value; } public function setValue(string $value): self { $this->value = $value; return $this; } public function getActive(): ?bool { return $this->active; } public function setActive(bool $active): self { $this->active = $active; return $this; } public function getCustomer() { return $this->customer; } public function setCustomer($customer): self { $this->customer = $customer; return $this; } /** * @return mixed */ public function getGrouping() { return $this->grouping; } /** * @param mixed $group */ public function setGrouping($group): void { $this->grouping = $group; }}