<?php
namespace App\Entity\Gos;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repositoryClass="App\Repository\Gos\UserDocumentationRepository")
*/
class UserDocumentation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
* @Assert\NotBlank
*/
private $title;
/**
* @ORM\Column(type="text")
* @Assert\NotBlank
*/
private $description;
/**
* @ORM\Column(type="string", length=191, unique=true)
* @Assert\NotBlank
*/
private $sidebarIdentifier;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(string $description): self
{
$this->description = $description;
return $this;
}
public function getSidebarIdentifier(): ?string
{
return $this->sidebarIdentifier;
}
public function setSidebarIdentifier(string $sidebarIdentifier): self
{
$this->sidebarIdentifier = $sidebarIdentifier;
return $this;
}
}