src/Entity/Configuration.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Entity\Components\HardComponent;
  4. use App\Repository\ConfigurationRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassConfigurationRepository::class)]
  8. class Configuration
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column]
  15.     private ?bool $is_online null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $emailReception null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $emailSender null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $metaImgDefault null;
  22.     #[ORM\Column(length255)]
  23.     private ?string $websiteUrl null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $icon null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $javascriptAdd null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $cssAdd null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $defaultImage null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $platForm null;
  34.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  35.     private ?string $analytics null;
  36.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  37.     private ?string $cookiesconsent null;
  38.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  39.     private ?string $header null;
  40.     #[ORM\Column(nullabletrue)]
  41.     private ?array $contactInformation null;
  42.     #[ORM\Column(nullabletrue)]
  43.     private ?array $cookiesInformation null;
  44.     #[ORM\ManyToOne]
  45.     private ?HardComponent $headerComponent null;
  46.     #[ORM\ManyToOne]
  47.     private ?HardComponent $footerComponent null;
  48.     #[ORM\Column]
  49.     private ?bool $is_headerLogin null;
  50.     #[ORM\ManyToOne]
  51.     private ?HardComponent $contactComponent null;
  52.     #[ORM\Column(length30nullabletrue)]
  53.     private ?string $skeletonContact null;
  54.     #[ORM\Column(length50nullabletrue)]
  55.     private ?string $applicationKey null;
  56.     #[ORM\Column]
  57.     private ?bool $isInitialized null;
  58.     public function getId(): ?int
  59.     {
  60.         return $this->id;
  61.     }
  62.     public function isIsOnline(): ?bool
  63.     {
  64.         return $this->is_online;
  65.     }
  66.     public function setIsOnline(bool $is_online): self
  67.     {
  68.         $this->is_online $is_online;
  69.         return $this;
  70.     }
  71.     public function getEmailReception(): ?string
  72.     {
  73.         return $this->emailReception;
  74.     }
  75.     public function setEmailReception(?string $emailReception): self
  76.     {
  77.         $this->emailReception $emailReception;
  78.         return $this;
  79.     }
  80.     public function getEmailSender(): ?string
  81.     {
  82.         return $this->emailSender;
  83.     }
  84.     public function setEmailSender(?string $emailSender): self
  85.     {
  86.         $this->emailSender $emailSender;
  87.         return $this;
  88.     }
  89.     public function getMetaImgDefault(): ?string
  90.     {
  91.         return $this->metaImgDefault;
  92.     }
  93.     public function setMetaImgDefault(string $metaImgDefault): self
  94.     {
  95.         $this->metaImgDefault $metaImgDefault;
  96.         return $this;
  97.     }
  98.     public function getWebsiteUrl(): ?string
  99.     {
  100.         return $this->websiteUrl;
  101.     }
  102.     public function setWebsiteUrl(string $websiteUrl): self
  103.     {
  104.         $this->websiteUrl $websiteUrl;
  105.         return $this;
  106.     }
  107.     public function getIcon(): ?string
  108.     {
  109.         return $this->icon;
  110.     }
  111.     public function setIcon(?string $icon): static
  112.     {
  113.         $this->icon $icon;
  114.         return $this;
  115.     }
  116.     public function getDefaultImage(): ?string
  117.     {
  118.         return $this->defaultImage;
  119.     }
  120.     public function setDefaultImage(?string $defaultImage): static
  121.     {
  122.         $this->defaultImage $defaultImage;
  123.         return $this;
  124.     }
  125.     public function getPlatForm(): ?string
  126.     {
  127.         return $this->platForm;
  128.     }
  129.     public function setPlatForm(?string $platForm): static
  130.     {
  131.         $this->platForm $platForm;
  132.         return $this;
  133.     }
  134.     public function getJavascriptAdd(): ?string
  135.     {
  136.         return $this->javascriptAdd;
  137.     }
  138.     public function setJavascriptAdd(?string $javascriptAdd): static
  139.     {
  140.         $this->javascriptAdd $javascriptAdd;
  141.         return $this;
  142.     }
  143.     public function getCssAdd(): ?string
  144.     {
  145.         return $this->cssAdd;
  146.     }
  147.     public function setCssAdd(?string $cssAdd): static
  148.     {
  149.         $this->cssAdd $cssAdd;
  150.         return $this;
  151.     }
  152.     public function getAnalytics(): ?string
  153.     {
  154.         return $this->analytics;
  155.     }
  156.     public function setAnalytics(?string $analytics): static
  157.     {
  158.         $this->analytics $analytics;
  159.         return $this;
  160.     }
  161.     public function getCookiesconsent(): ?string
  162.     {
  163.         return $this->cookiesconsent;
  164.     }
  165.     public function setCookiesconsent(?string $cookiesconsent): static
  166.     {
  167.         $this->cookiesconsent $cookiesconsent;
  168.         return $this;
  169.     }
  170.     public function getHeader(): ?string
  171.     {
  172.         return $this->header;
  173.     }
  174.     public function setHeader(?string $header): static
  175.     {
  176.         $this->header $header;
  177.         return $this;
  178.     }
  179.     public function getContactInformation(): ?array
  180.     {
  181.         return $this->contactInformation;
  182.     }
  183.     public function setContactInformation(?array $contactInformation): static
  184.     {
  185.         $this->contactInformation $contactInformation;
  186.         return $this;
  187.     }
  188.     public function getCookiesInformation(): ?array
  189.     {
  190.         return $this->cookiesInformation;
  191.     }
  192.     public function setCookiesInformation(?array $cookiesInformation): static
  193.     {
  194.         $this->cookiesInformation $cookiesInformation;
  195.         return $this;
  196.     }
  197.     public function getHeaderComponent(): ?HardComponent
  198.     {
  199.         return $this->headerComponent;
  200.     }
  201.     public function setHeaderComponent(?HardComponent $headerComponent): static
  202.     {
  203.         $this->headerComponent $headerComponent;
  204.         return $this;
  205.     }
  206.     public function getFooterComponent(): ?HardComponent
  207.     {
  208.         return $this->footerComponent;
  209.     }
  210.     public function setFooterComponent(?HardComponent $footerComponent): static
  211.     {
  212.         $this->footerComponent $footerComponent;
  213.         return $this;
  214.     }
  215.     public function isIsHeaderLogin(): ?bool
  216.     {
  217.         return $this->is_headerLogin;
  218.     }
  219.     public function setIsHeaderLogin(bool $is_headerLogin): static
  220.     {
  221.         $this->is_headerLogin $is_headerLogin;
  222.         return $this;
  223.     }
  224.     public function getContactComponent(): ?HardComponent
  225.     {
  226.         return $this->contactComponent;
  227.     }
  228.     public function setContactComponent(?HardComponent $contactComponent): static
  229.     {
  230.         $this->contactComponent $contactComponent;
  231.         return $this;
  232.     }
  233.     public function getSkeletonContact(): ?string
  234.     {
  235.         return $this->skeletonContact;
  236.     }
  237.     public function setSkeletonContact(?string $skeletonContact): static
  238.     {
  239.         $this->skeletonContact $skeletonContact;
  240.         return $this;
  241.     }
  242.     public function getApplicationKey(): ?string
  243.     {
  244.         return $this->applicationKey;
  245.     }
  246.     public function setApplicationKey(?string $applicationKey): static
  247.     {
  248.         $this->applicationKey $applicationKey;
  249.         return $this;
  250.     }
  251.     public function isIsInitialized(): ?bool
  252.     {
  253.         return $this->isInitialized;
  254.     }
  255.     public function setIsInitialized(bool $isInitialized): static
  256.     {
  257.         $this->isInitialized $isInitialized;
  258.         return $this;
  259.     }
  260. }