<?php
namespace App\Entity;
use App\Entity\Components\HardComponent;
use App\Repository\ConfigurationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ConfigurationRepository::class)]
class Configuration
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?bool $is_online = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $emailReception = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $emailSender = null;
#[ORM\Column(length: 255)]
private ?string $metaImgDefault = null;
#[ORM\Column(length: 255)]
private ?string $websiteUrl = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $icon = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $javascriptAdd = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cssAdd = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $defaultImage = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $platForm = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $analytics = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $cookiesconsent = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $header = null;
#[ORM\Column(nullable: true)]
private ?array $contactInformation = null;
#[ORM\Column(nullable: true)]
private ?array $cookiesInformation = null;
#[ORM\ManyToOne]
private ?HardComponent $headerComponent = null;
#[ORM\ManyToOne]
private ?HardComponent $footerComponent = null;
#[ORM\Column]
private ?bool $is_headerLogin = null;
#[ORM\ManyToOne]
private ?HardComponent $contactComponent = null;
#[ORM\Column(length: 30, nullable: true)]
private ?string $skeletonContact = null;
#[ORM\Column(length: 50, nullable: true)]
private ?string $applicationKey = null;
#[ORM\Column]
private ?bool $isInitialized = null;
public function getId(): ?int
{
return $this->id;
}
public function isIsOnline(): ?bool
{
return $this->is_online;
}
public function setIsOnline(bool $is_online): self
{
$this->is_online = $is_online;
return $this;
}
public function getEmailReception(): ?string
{
return $this->emailReception;
}
public function setEmailReception(?string $emailReception): self
{
$this->emailReception = $emailReception;
return $this;
}
public function getEmailSender(): ?string
{
return $this->emailSender;
}
public function setEmailSender(?string $emailSender): self
{
$this->emailSender = $emailSender;
return $this;
}
public function getMetaImgDefault(): ?string
{
return $this->metaImgDefault;
}
public function setMetaImgDefault(string $metaImgDefault): self
{
$this->metaImgDefault = $metaImgDefault;
return $this;
}
public function getWebsiteUrl(): ?string
{
return $this->websiteUrl;
}
public function setWebsiteUrl(string $websiteUrl): self
{
$this->websiteUrl = $websiteUrl;
return $this;
}
public function getIcon(): ?string
{
return $this->icon;
}
public function setIcon(?string $icon): static
{
$this->icon = $icon;
return $this;
}
public function getDefaultImage(): ?string
{
return $this->defaultImage;
}
public function setDefaultImage(?string $defaultImage): static
{
$this->defaultImage = $defaultImage;
return $this;
}
public function getPlatForm(): ?string
{
return $this->platForm;
}
public function setPlatForm(?string $platForm): static
{
$this->platForm = $platForm;
return $this;
}
public function getJavascriptAdd(): ?string
{
return $this->javascriptAdd;
}
public function setJavascriptAdd(?string $javascriptAdd): static
{
$this->javascriptAdd = $javascriptAdd;
return $this;
}
public function getCssAdd(): ?string
{
return $this->cssAdd;
}
public function setCssAdd(?string $cssAdd): static
{
$this->cssAdd = $cssAdd;
return $this;
}
public function getAnalytics(): ?string
{
return $this->analytics;
}
public function setAnalytics(?string $analytics): static
{
$this->analytics = $analytics;
return $this;
}
public function getCookiesconsent(): ?string
{
return $this->cookiesconsent;
}
public function setCookiesconsent(?string $cookiesconsent): static
{
$this->cookiesconsent = $cookiesconsent;
return $this;
}
public function getHeader(): ?string
{
return $this->header;
}
public function setHeader(?string $header): static
{
$this->header = $header;
return $this;
}
public function getContactInformation(): ?array
{
return $this->contactInformation;
}
public function setContactInformation(?array $contactInformation): static
{
$this->contactInformation = $contactInformation;
return $this;
}
public function getCookiesInformation(): ?array
{
return $this->cookiesInformation;
}
public function setCookiesInformation(?array $cookiesInformation): static
{
$this->cookiesInformation = $cookiesInformation;
return $this;
}
public function getHeaderComponent(): ?HardComponent
{
return $this->headerComponent;
}
public function setHeaderComponent(?HardComponent $headerComponent): static
{
$this->headerComponent = $headerComponent;
return $this;
}
public function getFooterComponent(): ?HardComponent
{
return $this->footerComponent;
}
public function setFooterComponent(?HardComponent $footerComponent): static
{
$this->footerComponent = $footerComponent;
return $this;
}
public function isIsHeaderLogin(): ?bool
{
return $this->is_headerLogin;
}
public function setIsHeaderLogin(bool $is_headerLogin): static
{
$this->is_headerLogin = $is_headerLogin;
return $this;
}
public function getContactComponent(): ?HardComponent
{
return $this->contactComponent;
}
public function setContactComponent(?HardComponent $contactComponent): static
{
$this->contactComponent = $contactComponent;
return $this;
}
public function getSkeletonContact(): ?string
{
return $this->skeletonContact;
}
public function setSkeletonContact(?string $skeletonContact): static
{
$this->skeletonContact = $skeletonContact;
return $this;
}
public function getApplicationKey(): ?string
{
return $this->applicationKey;
}
public function setApplicationKey(?string $applicationKey): static
{
$this->applicationKey = $applicationKey;
return $this;
}
public function isIsInitialized(): ?bool
{
return $this->isInitialized;
}
public function setIsInitialized(bool $isInitialized): static
{
$this->isInitialized = $isInitialized;
return $this;
}
}