<?php
namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\EvaluationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EvaluationRepository::class)]
#[ApiResource]
class Evaluation
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $attentes = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $techniques = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $pedagogique = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $disponibilite = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $commentires = null;
#[ORM\ManyToOne(inversedBy: 'evaluations')]
private ?User $user = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $prestation = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $competence = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $dispo = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $connaissance = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $commentairefor = null;
#[ORM\ManyToOne(inversedBy: 'eval')]
private ?Evenement $evenement = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $question1 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $question2 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $question3 = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $date = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $lu = null;
public function getId(): ?int
{
return $this->id;
}
public function getAttentes(): ?string
{
return $this->attentes;
}
public function setAttentes(?string $attentes): self
{
$this->attentes = $attentes;
return $this;
}
public function getTechniques(): ?string
{
return $this->techniques;
}
public function setTechniques(?string $techniques): self
{
$this->techniques = $techniques;
return $this;
}
public function getPedagogique(): ?string
{
return $this->pedagogique;
}
public function setPedagogique(?string $pedagogique): self
{
$this->pedagogique = $pedagogique;
return $this;
}
public function getDisponibilite(): ?string
{
return $this->disponibilite;
}
public function setDisponibilite(?string $disponibilite): self
{
$this->disponibilite = $disponibilite;
return $this;
}
/**
* @return string|null
*/
public function getCommentires(): ?string
{
return $this->commentires;
}
/**
* @param string|null $commentires
*/
public function setCommentires(?string $commentires): void
{
$this->commentires = $commentires;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
public function getPrestation(): ?string
{
return $this->prestation;
}
public function setPrestation(?string $prestation): self
{
$this->prestation = $prestation;
return $this;
}
public function getCompetence(): ?string
{
return $this->competence;
}
public function setCompetence(?string $competence): self
{
$this->competence = $competence;
return $this;
}
public function getDispo(): ?string
{
return $this->dispo;
}
public function setDispo(?string $dispo): self
{
$this->dispo = $dispo;
return $this;
}
public function getConnaissance(): ?string
{
return $this->connaissance;
}
public function setConnaissance(?string $connaissance): self
{
$this->connaissance = $connaissance;
return $this;
}
/**
* @return string|null
*/
public function getCommentairefor(): ?string
{
return $this->commentairefor;
}
/**
* @param string|null $commentairefor
*/
public function setCommentairefor(?string $commentairefor): void
{
$this->commentairefor = $commentairefor;
}
public function getEvenement(): ?Evenement
{
return $this->evenement;
}
public function setEvenement(?Evenement $evenement): self
{
$this->evenement = $evenement;
return $this;
}
public function getQuestion1(): ?string
{
return $this->question1;
}
public function setQuestion1(?string $question1): self
{
$this->question1 = $question1;
return $this;
}
public function getQuestion2(): ?string
{
return $this->question2;
}
public function setQuestion2(?string $question2): self
{
$this->question2 = $question2;
return $this;
}
public function getQuestion3(): ?string
{
return $this->question3;
}
public function setQuestion3(?string $question3): self
{
$this->question3 = $question3;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getLu(): ?string
{
return $this->lu;
}
public function setLu(?string $lu): self
{
$this->lu = $lu;
return $this;
}
}