src/Entity/ReponseCandidatFiche.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReponseCandidatFicheRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassReponseCandidatFicheRepository::class)]
  6. class ReponseCandidatFiche
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(type'string'length255nullablefalse)]
  13.     private ?string $reponse null;
  14.     #[ORM\ManyToOne(inversedBy'reponseCandidatFiches')]
  15.     #[ORM\JoinColumn(nullablefalse)]
  16.     private ?CandidatFiche $candidatFiche null;
  17.     #[ORM\ManyToOne]
  18.     #[ORM\JoinColumn(nullabletrue)]
  19.     private ?CritereEvaluation $critere null;
  20.     #[ORM\Column(type'string'length255nullabletrue)]
  21.     private ?string $question null;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getReponse(): ?string
  27.     {
  28.         return $this->reponse;
  29.     }
  30.     public function setReponse(string $reponse): self
  31.     {
  32.         $this->reponse $reponse;
  33.         return $this;
  34.     }
  35.     public function getCandidatFiche(): ?CandidatFiche
  36.     {
  37.         return $this->candidatFiche;
  38.     }
  39.     public function setCandidatFiche(?CandidatFiche $candidatFiche): self
  40.     {
  41.         $this->candidatFiche $candidatFiche;
  42.         return $this;
  43.     }
  44.     public function getCritere(): ?CritereEvaluation
  45.     {
  46.         return $this->critere;
  47.     }
  48.     public function setCritere(?CritereEvaluation $critere): self
  49.     {
  50.         $this->critere $critere;
  51.         return $this;
  52.     }
  53.     public function getQuestion(): ?string
  54.     {
  55.         return $this->question;
  56.     }
  57.     public function setQuestion(string $question): self
  58.     {
  59.         $this->question $question;
  60.         return $this;
  61.     }
  62. }