<?php
namespace App\Entity\Um6p;
use App\Repository\Um6p\ProfTranslationRepository;
use Doctrine\ORM\Mapping as ORM;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
/**
* @ORM\Entity(repositoryClass=ProfTranslationRepository::class)
*/
class ProfTranslation implements TranslationInterface
{
use TranslationTrait;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $nom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $mission;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $specialite;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $contenu;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getMission(): ?string
{
return $this->mission;
}
public function setMission(?string $mission): self
{
$this->mission = $mission;
return $this;
}
public function getSpecialite(): ?string
{
return $this->specialite;
}
public function setSpecialite(?string $specialite): self
{
$this->specialite = $specialite;
return $this;
}
public function getContenu(): ?string
{
return $this->contenu;
}
public function setContenu(?string $contenu): self
{
$this->contenu = $contenu;
return $this;
}
}