<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ReponseRepository::class)
*/
class EvaluationReponduReponseField
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="boolean", length=1)
*/
private $choisi;
/**
* @ORM\ManyToOne(targetEntity=Reponse::class)
* @ORM\JoinColumn(nullable=false)
*/
private $reponse;
public function getId(): ?int
{
return $this->id;
}
public function getChoisi(): ?bool
{
return $this->choisi;
}
public function setChoisi(bool $bonnereponse): self
{
$this->choisi = $bonnereponse;
return $this;
}
public function getReponse(): ?Reponse
{
return $this->reponse;
}
public function setReponse(?Reponse $question): self
{
$this->reponse = $question;
return $this;
}
}