src/Entity/Site.php line 9

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Acme\SudcmsBundle\Repository\SiteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassSiteRepository::class)]
  6. class Site {
  7.     #[ORM\Id]
  8.     #[ORM\GeneratedValue]
  9.     #[ORM\Column(type'integer')]
  10.     private $id;
  11.     #[ORM\Column(type'string'length255)]
  12.     private $siteName;
  13.     #[ORM\Column(type'string'length255nullabletrue)]
  14.     private $siteDomain;
  15.     #[ORM\Column(type'boolean')]
  16.     private $isEcommerce;
  17.     #[ORM\Column(type'integer')]
  18.     private $nbNewsHomePage;
  19.     #[ORM\Column(type'string'length0nullablefalseoptions: ['default' => "'left'"], columnDefinition"enum('left', 'center', 'top_center')")]
  20.     private $logoInMenu;
  21.     #[ORM\Column(type'boolean'options: ['default' => 0])]
  22.     private $rightMenuActivated 0;
  23.     #[ORM\Column(type'boolean'options: ['default' => 1])]
  24.     private $breadcrumbIsActive 1;
  25.     #[ORM\Column(type'string'length255nullabletrue)]
  26.     private $siteCopyMail;
  27.     #[ORM\Column(type'string'length255nullabletrue)]
  28.     private $siteHeaderMail;
  29.     #[ORM\Column(type'string'length255nullabletrue)]
  30.     private $siteSenderMail;
  31.     #[ORM\Column(type'string'length255nullabletrue)]
  32.     private $siteSenderNameMail;
  33.     #[ORM\Column(type'string'length20nullabletrue)]
  34.     private $projectDirectory;
  35.     #[ORM\Column(type'string'length0nullablefalseoptions: ['default' => "'CURE'"], columnDefinition"enum('CURE', 'SPA')")]
  36.     private $OdysseeType;
  37.     #[ORM\Column(type'string'length4nullablefalseoptions: ['default' => '0000'])]
  38.     private $odysseePdvId;
  39.     #[ORM\Column(type'text'nullabletrue)]
  40.     private $clickupScript;
  41.     public function getId(): ?int {
  42.         return $this->id;
  43.     }
  44.     public function getSiteName(): ?string {
  45.         return $this->siteName;
  46.     }
  47.     public function setSiteName(string $siteName): self {
  48.         $this->siteName $siteName;
  49.         return $this;
  50.     }
  51.     public function getSiteDomain(): ?string {
  52.         return $this->siteDomain;
  53.     }
  54.     public function setSiteDomain(?string $siteDomain): self {
  55.         $this->siteDomain $siteDomain;
  56.         return $this;
  57.     }
  58.     public function getIsEcommerce(): ?bool {
  59.         return $this->isEcommerce;
  60.     }
  61.     public function setIsEcommerce(?bool $isEcommerce): self {
  62.         $this->isEcommerce $isEcommerce;
  63.         return $this;
  64.     }
  65.     public function getNbNewsHomePage(): ?int {
  66.         return $this->nbNewsHomePage;
  67.     }
  68.     public function setNbNewsHomePage(?int $nbNewsHomePage): self {
  69.         $this->nbNewsHomePage $nbNewsHomePage;
  70.         return $this;
  71.     }
  72.     public function getLogoInMenu(): ?string {
  73.         return $this->logoInMenu;
  74.     }
  75.     public function setLogoInMenu(?string $logoInMenu): self {
  76.         $this->logoInMenu $logoInMenu;
  77.         return $this;
  78.     }
  79.     public function getRightMenuActivated(): ?bool {
  80.         return $this->rightMenuActivated;
  81.     }
  82.     public function setRightMenuActivated(?bool $rightMenuActivated): self {
  83.         $this->rightMenuActivated $rightMenuActivated;
  84.         return $this;
  85.     }
  86.     public function getBreadcrumbIsActive(): ?bool {
  87.         return $this->breadcrumbIsActive;
  88.     }
  89.     public function setBreadcrumbIsActive(?bool $breadcrumbIsActive): self {
  90.         $this->breadcrumbIsActive $breadcrumbIsActive;
  91.         return $this;
  92.     }
  93.     public function getSiteCopyMail(): ?string {
  94.         return $this->siteCopyMail;
  95.     }
  96.     public function setSiteCopyMail(?string $siteCopyMail): self {
  97.         $this->siteCopyMail $siteCopyMail;
  98.         return $this;
  99.     }
  100.     public function getSiteHeaderMail(): ?string {
  101.         return $this->siteHeaderMail;
  102.     }
  103.     public function setSiteHeaderMail(?string $siteHeaderMail): self {
  104.         $this->siteHeaderMail $siteHeaderMail;
  105.         return $this;
  106.     }
  107.     public function getSiteSenderMail(): ?string {
  108.         return $this->siteSenderMail;
  109.     }
  110.     public function setSiteSenderMail(?string $siteSenderMail): self {
  111.         $this->siteSenderMail $siteSenderMail;
  112.         return $this;
  113.     }
  114.     public function getSiteSenderNameMail(): ?string {
  115.         return $this->siteSenderNameMail;
  116.     }
  117.     public function setSiteSenderNameMail(?string $siteSenderNameMail): self {
  118.         $this->siteSenderNameMail $siteSenderNameMail;
  119.         return $this;
  120.     }
  121.     public function getProjectDirectory(): ?string {
  122.         return $this->projectDirectory;
  123.     }
  124.     public function setProjectDirectory(?string $projectDirectory): self {
  125.         $this->projectDirectory $projectDirectory;
  126.         return $this;
  127.     }
  128.     public function getOdysseeType(): string {
  129.         return $this->OdysseeType;
  130.     }
  131.     public function setOdysseeType(string $OdysseeType): self {
  132.         $this->OdysseeType $OdysseeType;
  133.         return $this;
  134.     }
  135.     public function getOdysseePdvId(): string {
  136.         return $this->odysseePdvId;
  137.     }
  138.     public function setOdysseePdvId(string $odysseePdvId): self {
  139.         $this->odysseePdvId $odysseePdvId;
  140.         return $this;
  141.     }
  142.     public function getClickupScript() {
  143.         return $this->clickupScript;
  144.     }
  145.     public function setClickupScript($clickupScript): void {
  146.         $this->clickupScript $clickupScript;
  147.     }
  148. }