<?phpnamespace App\Entity;use App\Repository\AgeRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=AgeRepository::class) */class Age{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=10, nullable=true) */ private $title; /** * @ORM\Column(type="text", nullable=true) */ private $bottomDescription; /** * @ORM\Column(type="text", nullable=true) */ private $topDescription; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $slug; /** * @ORM\Column(type="integer") */ private $age; /** * @ORM\Column(type="boolean") */ private $isActive; 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 getBottomDescription(): ?string { return $this->bottomDescription; } public function setBottomDescription(?string $bottomDescription): self { $this->bottomDescription = $bottomDescription; return $this; } public function getTopDescription(): ?string { return $this->topDescription; } public function setTopDescription(?string $topDescription): self { $this->topDescription = $topDescription; return $this; } public function getSlug(): ?string { return $this->slug; } public function setSlug(?string $slug): self { $this->slug = $slug; return $this; } public function getAge(): ?int { return $this->age; } public function setAge(int $age): self { $this->age = $age; return $this; } public function getIsActive(): ?bool { return $this->isActive; } public function setIsActive(bool $isActive): self { $this->isActive = $isActive; return $this; } }