src/Entity/EvaluationTestb1.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EvaluationTestb1Repository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass=EvaluationTestb1Repository::class)
  9.  */
  10. class EvaluationTestb1
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="datetime")
  20.      */
  21.     private $datedebut;
  22.     /**
  23.      * @ORM\Column(type="datetime")
  24.      */
  25.     private $datefin;
  26.     /**
  27.      * @ORM\Column(type="text", nullable=true)
  28.      */
  29.     private $cle;
  30.     /**
  31.      * @ORM\Column(type="datetime", nullable=true)
  32.      */
  33.     private $createdAt;
  34.     /**
  35.      * @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="evaluationTestb1s")
  36.      */
  37.     private $tier;
  38.     /**
  39.      * @ORM\ManyToOne(targetEntity=EpreuveTestb1::class, inversedBy="evaluationTestb1s")
  40.      */
  41.     private $epreuve;
  42.     /**
  43.      * @ORM\Column(type="boolean", nullable=true)
  44.      */
  45.     private $envoyer;
  46.     /**
  47.      * @ORM\Column(type="boolean", nullable=true)
  48.      */
  49.     private $repondu;
  50.     /**
  51.      * @ORM\Column(type="boolean", nullable=true)
  52.      */
  53.     private $corriger;
  54.     /**
  55.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  56.      */
  57.     private $NoteFinale;
  58.     /**
  59.      * @ORM\Column(type="boolean", nullable=true)
  60.      */
  61.     private $noteSend;
  62.     
  63.     public function __construct()
  64.     {
  65.         //$this->question = new ArrayCollection();
  66.     }
  67.     public function getId(): ?int
  68.     {
  69.         return $this->id;
  70.     }
  71.     public function getDatedebut(): ?\DateTimeInterface
  72.     {
  73.         return $this->datedebut;
  74.     }
  75.     public function setDatedebut(\DateTimeInterface $datedebut): self
  76.     {
  77.         $this->datedebut $datedebut;
  78.         return $this;
  79.     }
  80.     public function getDatefin(): ?\DateTimeInterface
  81.     {
  82.         return $this->datefin;
  83.     }
  84.     public function setDatefin(\DateTimeInterface $datefin): self
  85.     {
  86.         $this->datefin $datefin;
  87.         return $this;
  88.     }
  89.     
  90.     public function getCle(): ?string
  91.     {
  92.         return $this->cle;
  93.     }
  94.     public function setCle(?string $cle): self
  95.     {
  96.         $this->cle $cle;
  97.         return $this;
  98.     }
  99.     public function getCreatedAt(): ?\DateTimeInterface
  100.     {
  101.         return $this->createdAt;
  102.     }
  103.     public function setCreatedAt(?\DateTime  $createdAt): self
  104.     {
  105.         $this->createdAt $createdAt;
  106.         return $this;
  107.     }
  108.     public function getTier(): ?Tier
  109.     {
  110.         return $this->tier;
  111.     }
  112.     public function setTier(?Tier $tier): self
  113.     {
  114.         $this->tier $tier;
  115.         return $this;
  116.     }
  117.     public function getEpreuve(): ?EpreuveTestb1
  118.     {
  119.         return $this->epreuve;
  120.     }
  121.     public function setEpreuve(?EpreuveTestb1 $epreuve): self
  122.     {
  123.         $this->epreuve $epreuve;
  124.         return $this;
  125.     }
  126.     public function isEnvoyer(): ?bool
  127.     {
  128.         return $this->envoyer;
  129.     }
  130.     public function setEnvoyer(?bool $envoyer): self
  131.     {
  132.         $this->envoyer $envoyer;
  133.         return $this;
  134.     }
  135.     public function isRepondu(): ?bool
  136.     {
  137.         return $this->repondu;
  138.     }
  139.     public function setRepondu(?bool $repondu): self
  140.     {
  141.         $this->repondu $repondu;
  142.         return $this;
  143.     }
  144.     public function isCorriger(): ?bool
  145.     {
  146.         return $this->corriger;
  147.     }
  148.     public function setCorriger(?bool $corriger): self
  149.     {
  150.         $this->corriger $corriger;
  151.         return $this;
  152.     }
  153.     public function getNoteFinale(): ?string
  154.     {
  155.         return $this->NoteFinale;
  156.     }
  157.     public function setNoteFinale(?string $NoteFinale): self
  158.     {
  159.         $this->NoteFinale $NoteFinale;
  160.         return $this;
  161.     }
  162.     public function isNoteSend(): ?bool
  163.     {
  164.         return $this->noteSend;
  165.     }
  166.     public function setNoteSend(?bool $noteSend): self
  167.     {
  168.         $this->noteSend $noteSend;
  169.         return $this;
  170.     }
  171.  
  172. }