<?php
namespace App\Entity;
use App\Repository\ReponseCandidatFicheRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ReponseCandidatFicheRepository::class)]
class ReponseCandidatFiche
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: 'string', length: 255, nullable: false)]
private ?string $reponse = null;
#[ORM\ManyToOne(inversedBy: 'reponseCandidatFiches')]
#[ORM\JoinColumn(nullable: false)]
private ?CandidatFiche $candidatFiche = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: true)]
private ?CritereEvaluation $critere = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $question = null;
public function getId(): ?int
{
return $this->id;
}
public function getReponse(): ?string
{
return $this->reponse;
}
public function setReponse(string $reponse): self
{
$this->reponse = $reponse;
return $this;
}
public function getCandidatFiche(): ?CandidatFiche
{
return $this->candidatFiche;
}
public function setCandidatFiche(?CandidatFiche $candidatFiche): self
{
$this->candidatFiche = $candidatFiche;
return $this;
}
public function getCritere(): ?CritereEvaluation
{
return $this->critere;
}
public function setCritere(?CritereEvaluation $critere): self
{
$this->critere = $critere;
return $this;
}
public function getQuestion(): ?string
{
return $this->question;
}
public function setQuestion(string $question): self
{
$this->question = $question;
return $this;
}
}