src/Entity/SiteCustomization.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SiteCustomizationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use App\Entity\Instance;
  6. /**
  7.  * @ORM\Entity(repositoryClass=SiteCustomizationRepository::class)
  8.  */
  9. class SiteCustomization
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $menuBackgroundColor;
  21.     /**
  22.      * @ORM\Column(type="string", length=255)
  23.      */
  24.     private $buttonBackgroundColor;
  25.     /**
  26.      * @ORM\Column(type="string", length=255)
  27.      */
  28.     private $pageBackgroundColor;
  29.     /**
  30.      * @ORM\Column(type="string", length=255)
  31.      */
  32.     private $menuForegroundColor;
  33.     /**
  34.      * @ORM\Column(type="string", length=255)
  35.      */
  36.     private $buttonForegroundColor;
  37.     /**
  38.      * @ORM\Column(type="string", length=255)
  39.      */
  40.     private $pageForegroundColor;
  41.     /**
  42.      * @ORM\Column(type="string", length=255)
  43.      */
  44.     private $pageTitleColor;
  45.     /**
  46.      * @ORM\ManyToOne(targetEntity=Instance::class, inversedBy="siteCustomizations")
  47.      * @ORM\JoinColumn(nullable=true, unique=true)
  48.      */
  49.     private $instance;
  50.     public function getId(): ?int
  51.     {
  52.         return $this->id;
  53.     }
  54.     public function getMenuBackgroundColor(): ?string
  55.     {
  56.         return $this->menuBackgroundColor;
  57.     }
  58.     public function setMenuBackgroundColor(string $menuBackgroundColor): self
  59.     {
  60.         $this->menuBackgroundColor $menuBackgroundColor;
  61.         return $this;
  62.     }
  63.     public function getButtonBackgroundColor(): ?string
  64.     {
  65.         return $this->buttonBackgroundColor;
  66.     }
  67.     public function setButtonBackgroundColor(string $buttonBackgroundColor): self
  68.     {
  69.         $this->buttonBackgroundColor $buttonBackgroundColor;
  70.         return $this;
  71.     }
  72.     public function getPageBackgroundColor(): ?string
  73.     {
  74.         return $this->pageBackgroundColor;
  75.     }
  76.     public function setPageBackgroundColor(string $pageBackgroundColor): self
  77.     {
  78.         $this->pageBackgroundColor $pageBackgroundColor;
  79.         return $this;
  80.     }
  81.     public function getMenuForegroundColor(): ?string
  82.     {
  83.         return $this->menuForegroundColor;
  84.     }
  85.     public function setMenuForegroundColor(string $menuForegroundColor): self
  86.     {
  87.         $this->menuForegroundColor $menuForegroundColor;
  88.         return $this;
  89.     }
  90.     public function getButtonForegroundColor(): ?string
  91.     {
  92.         return $this->buttonForegroundColor;
  93.     }
  94.     public function setButtonForegroundColor(string $buttonForegroundColor): self
  95.     {
  96.         $this->buttonForegroundColor $buttonForegroundColor;
  97.         return $this;
  98.     }
  99.     public function getPageForegroundColor(): ?string
  100.     {
  101.         return $this->pageForegroundColor;
  102.     }
  103.     public function setPageForegroundColor(string $pageForegroundColor): self
  104.     {
  105.         $this->pageForegroundColor $pageForegroundColor;
  106.         return $this;
  107.     }
  108.     public function getPageTitleColor(): ?string
  109.     {
  110.         return $this->pageTitleColor;
  111.     }
  112.     public function setPageTitleColor(string $pageTitleColor): self
  113.     {
  114.         $this->pageTitleColor $pageTitleColor;
  115.         return $this;
  116.     }
  117.     public function getInstance(): ?Instance
  118.     {
  119.         return $this->instance;
  120.     }
  121.     public function setInstance(?Instance $instance): self
  122.     {
  123.         $this->instance $instance;
  124.         return $this;
  125.     }
  126. }