src/Entity/AboutUs.php line 11
<?php
namespace App\Entity;
use App\Repository\AboutUsRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AboutUsRepository::class)
*/
class AboutUs
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text")
*/
private $content;
/**
* @ORM\Column(type="boolean")
*/
private $is_published;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $reference_page;
public function getId(): ?int
{
return $this->id;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(string $content): self
{
$this->content = $content;
return $this;
}
public function isIsPublished(): ?bool
{
return $this->is_published;
}
public function setIsPublished(bool $is_published): self
{
$this->is_published = $is_published;
return $this;
}
public function getReferencePage(): ?string
{
return $this->reference_page;
}
public function setReferencePage(?string $reference_page): self
{
$this->reference_page = $reference_page;
return $this;
}
}