src/Entity/Evaluation.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Core\Annotation\ApiResource;
  4. use App\Repository\EvaluationRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassEvaluationRepository::class)]
  8. #[ApiResource]
  9. class Evaluation
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $attentes null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $techniques null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $pedagogique null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $disponibilite null;
  23.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  24.     private ?string $commentires null;
  25.     #[ORM\ManyToOne(inversedBy'evaluations')]
  26.     private ?User $user null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $prestation null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $competence null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $dispo null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $connaissance null;
  35.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  36.     private ?string $commentairefor null;
  37.     #[ORM\ManyToOne(inversedBy'eval')]
  38.     private ?Evenement $evenement null;
  39.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  40.     private ?string $question1 null;
  41.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  42.     private ?string $question2 null;
  43.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  44.     private ?string $question3 null;
  45.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  46.     private ?\DateTimeInterface $date null;
  47.     #[ORM\Column(length255nullabletrue)]
  48.     private ?string $lu null;
  49.     public function getId(): ?int
  50.     {
  51.         return $this->id;
  52.     }
  53.     public function getAttentes(): ?string
  54.     {
  55.         return $this->attentes;
  56.     }
  57.     public function setAttentes(?string $attentes): self
  58.     {
  59.         $this->attentes $attentes;
  60.         return $this;
  61.     }
  62.     public function getTechniques(): ?string
  63.     {
  64.         return $this->techniques;
  65.     }
  66.     public function setTechniques(?string $techniques): self
  67.     {
  68.         $this->techniques $techniques;
  69.         return $this;
  70.     }
  71.     public function getPedagogique(): ?string
  72.     {
  73.         return $this->pedagogique;
  74.     }
  75.     public function setPedagogique(?string $pedagogique): self
  76.     {
  77.         $this->pedagogique $pedagogique;
  78.         return $this;
  79.     }
  80.     public function getDisponibilite(): ?string
  81.     {
  82.         return $this->disponibilite;
  83.     }
  84.     public function setDisponibilite(?string $disponibilite): self
  85.     {
  86.         $this->disponibilite $disponibilite;
  87.         return $this;
  88.     }
  89.     /**
  90.      * @return string|null
  91.      */
  92.     public function getCommentires(): ?string
  93.     {
  94.         return $this->commentires;
  95.     }
  96.     /**
  97.      * @param string|null $commentires
  98.      */
  99.     public function setCommentires(?string $commentires): void
  100.     {
  101.         $this->commentires $commentires;
  102.     }
  103.     public function getUser(): ?User
  104.     {
  105.         return $this->user;
  106.     }
  107.     public function setUser(?User $user): self
  108.     {
  109.         $this->user $user;
  110.         return $this;
  111.     }
  112.     public function getPrestation(): ?string
  113.     {
  114.         return $this->prestation;
  115.     }
  116.     public function setPrestation(?string $prestation): self
  117.     {
  118.         $this->prestation $prestation;
  119.         return $this;
  120.     }
  121.     public function getCompetence(): ?string
  122.     {
  123.         return $this->competence;
  124.     }
  125.     public function setCompetence(?string $competence): self
  126.     {
  127.         $this->competence $competence;
  128.         return $this;
  129.     }
  130.     public function getDispo(): ?string
  131.     {
  132.         return $this->dispo;
  133.     }
  134.     public function setDispo(?string $dispo): self
  135.     {
  136.         $this->dispo $dispo;
  137.         return $this;
  138.     }
  139.     public function getConnaissance(): ?string
  140.     {
  141.         return $this->connaissance;
  142.     }
  143.     public function setConnaissance(?string $connaissance): self
  144.     {
  145.         $this->connaissance $connaissance;
  146.         return $this;
  147.     }
  148.     /**
  149.      * @return string|null
  150.      */
  151.     public function getCommentairefor(): ?string
  152.     {
  153.         return $this->commentairefor;
  154.     }
  155.     /**
  156.      * @param string|null $commentairefor
  157.      */
  158.     public function setCommentairefor(?string $commentairefor): void
  159.     {
  160.         $this->commentairefor $commentairefor;
  161.     }
  162.     public function getEvenement(): ?Evenement
  163.     {
  164.         return $this->evenement;
  165.     }
  166.     public function setEvenement(?Evenement $evenement): self
  167.     {
  168.         $this->evenement $evenement;
  169.         return $this;
  170.     }
  171.     public function getQuestion1(): ?string
  172.     {
  173.         return $this->question1;
  174.     }
  175.     public function setQuestion1(?string $question1): self
  176.     {
  177.         $this->question1 $question1;
  178.         return $this;
  179.     }
  180.     public function getQuestion2(): ?string
  181.     {
  182.         return $this->question2;
  183.     }
  184.     public function setQuestion2(?string $question2): self
  185.     {
  186.         $this->question2 $question2;
  187.         return $this;
  188.     }
  189.     public function getQuestion3(): ?string
  190.     {
  191.         return $this->question3;
  192.     }
  193.     public function setQuestion3(?string $question3): self
  194.     {
  195.         $this->question3 $question3;
  196.         return $this;
  197.     }
  198.     public function getDate(): ?\DateTimeInterface
  199.     {
  200.         return $this->date;
  201.     }
  202.     public function setDate(?\DateTimeInterface $date): self
  203.     {
  204.         $this->date $date;
  205.         return $this;
  206.     }
  207.     public function getLu(): ?string
  208.     {
  209.         return $this->lu;
  210.     }
  211.     public function setLu(?string $lu): self
  212.     {
  213.         $this->lu $lu;
  214.         return $this;
  215.     }
  216. }