<?php
namespace App\Entity;
use App\Repository\PageHomeRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PageHomeRepository::class)
*/
class PageHome
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $titrePrincipal;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $subDescription;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $title1;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description1;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $title2;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description2;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $title3;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description3;
/**
* @ORM\Column(type="string", length=255)
*/
private $image;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getTitrePrincipal(): ?string
{
return $this->titrePrincipal;
}
public function setTitrePrincipal(?string $titrePrincipal): self
{
$this->titrePrincipal = $titrePrincipal;
return $this;
}
public function getSubDescription(): ?string
{
return $this->subDescription;
}
public function setSubDescription(?string $subDescription): self
{
$this->subDescription = $subDescription;
return $this;
}
public function getTitle1(): ?string
{
return $this->title1;
}
public function setTitle1(?string $title1): self
{
$this->title1 = $title1;
return $this;
}
public function getDescription1(): ?string
{
return $this->description1;
}
public function setDescription1(string $description1): self
{
$this->description1 = $description1;
return $this;
}
public function getTitle2(): ?string
{
return $this->title2;
}
public function setTitle2(?string $title2): self
{
$this->title2 = $title2;
return $this;
}
public function getDescription2(): ?string
{
return $this->description2;
}
public function setDescription2(?string $description2): self
{
$this->description2 = $description2;
return $this;
}
public function getTitle3(): ?string
{
return $this->title3;
}
public function setTitle3(?string $title3): self
{
$this->title3 = $title3;
return $this;
}
public function getDescription3(): ?string
{
return $this->description3;
}
public function setDescription3(?string $description3): self
{
$this->description3 = $description3;
return $this;
}
public function getImage()
{
return $this->image;
}
public function setImage($image): self
{
$this->image = $image;
return $this;
}
}