<?phpnamespace App\Entity;use App\Repository\SiteCustomizationRepository;use Doctrine\ORM\Mapping as ORM;use App\Entity\Instance;/** * @ORM\Entity(repositoryClass=SiteCustomizationRepository::class) */class SiteCustomization{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $menuBackgroundColor; /** * @ORM\Column(type="string", length=255) */ private $buttonBackgroundColor; /** * @ORM\Column(type="string", length=255) */ private $pageBackgroundColor; /** * @ORM\Column(type="string", length=255) */ private $menuForegroundColor; /** * @ORM\Column(type="string", length=255) */ private $buttonForegroundColor; /** * @ORM\Column(type="string", length=255) */ private $pageForegroundColor; /** * @ORM\Column(type="string", length=255) */ private $pageTitleColor; /** * @ORM\ManyToOne(targetEntity=Instance::class, inversedBy="siteCustomizations") * @ORM\JoinColumn(nullable=true, unique=true) */ private $instance; public function getId(): ?int { return $this->id; } public function getMenuBackgroundColor(): ?string { return $this->menuBackgroundColor; } public function setMenuBackgroundColor(string $menuBackgroundColor): self { $this->menuBackgroundColor = $menuBackgroundColor; return $this; } public function getButtonBackgroundColor(): ?string { return $this->buttonBackgroundColor; } public function setButtonBackgroundColor(string $buttonBackgroundColor): self { $this->buttonBackgroundColor = $buttonBackgroundColor; return $this; } public function getPageBackgroundColor(): ?string { return $this->pageBackgroundColor; } public function setPageBackgroundColor(string $pageBackgroundColor): self { $this->pageBackgroundColor = $pageBackgroundColor; return $this; } public function getMenuForegroundColor(): ?string { return $this->menuForegroundColor; } public function setMenuForegroundColor(string $menuForegroundColor): self { $this->menuForegroundColor = $menuForegroundColor; return $this; } public function getButtonForegroundColor(): ?string { return $this->buttonForegroundColor; } public function setButtonForegroundColor(string $buttonForegroundColor): self { $this->buttonForegroundColor = $buttonForegroundColor; return $this; } public function getPageForegroundColor(): ?string { return $this->pageForegroundColor; } public function setPageForegroundColor(string $pageForegroundColor): self { $this->pageForegroundColor = $pageForegroundColor; return $this; } public function getPageTitleColor(): ?string { return $this->pageTitleColor; } public function setPageTitleColor(string $pageTitleColor): self { $this->pageTitleColor = $pageTitleColor; return $this; } public function getInstance(): ?Instance { return $this->instance; } public function setInstance(?Instance $instance): self { $this->instance = $instance; return $this; }}