<?php
namespace App\Entity\Profil;
use App\Repository\Profil\ProfilTranslationRepository;
use Doctrine\ORM\Mapping as ORM;
use Knp\DoctrineBehaviors\Model as ORMBehaviors;
/**
* @ORM\Entity(repositoryClass=ProfilTranslationRepository::class)
* @ORM\HasLifecycleCallbacks()
*/
class ProfilTranslation
{
use ORMBehaviors\Translatable\Translation;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
protected $id;
/**
* @ORM\ManyToOne(targetEntity=Profil::class, inversedBy="translations", cascade={"persist"})
*/
protected $translatable;
/**
* @var string
* @ORM\Column(type="string")
*/
protected $locale;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $title;
/**
* @ORM\Column(type="text", length=255, nullable=true)
*/
private $videoLink;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pdfLink;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $negativeDescription;
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 getVideoLink(): ?string
{
return $this->videoLink;
}
public function setVideoLink(string $videoLink): self
{
$this->videoLink = $videoLink;
return $this;
}
public function getPdfLink(): ?string
{
return $this->pdfLink;
}
public function setPdfLink(?string $pdfLink): self
{
$this->pdfLink = $pdfLink;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getNegativeDescription(): ?string
{
return $this->negativeDescription;
}
public function setNegativeDescription(?string $negativeDescription): self
{
$this->negativeDescription = $negativeDescription;
return $this;
}
}