src/Entity/EvaluationElearning.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EvaluationElearningRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassEvaluationElearningRepository::class)]
  7. class EvaluationElearning
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $note null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $date null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $description null;
  19.     #[ORM\ManyToOne(inversedBy'evaluationElearnings')]
  20.     private ?FormationElearning $formation null;
  21.     #[ORM\ManyToOne(inversedBy'evaluationElearnings')]
  22.     private ?User $user null;
  23.     #[ORM\Column(nullabletrue)]
  24.     private ?bool $isVu null;
  25.     #[ORM\Column(nullabletrue)]
  26.     private ?bool $isConfirm null;
  27.     public function getId(): ?int
  28.     {
  29.         return $this->id;
  30.     }
  31.     public function getNote(): ?string
  32.     {
  33.         return $this->note;
  34.     }
  35.     public function setNote(?string $note): self
  36.     {
  37.         $this->note $note;
  38.         return $this;
  39.     }
  40.     public function getDate(): ?\DateTimeInterface
  41.     {
  42.         return $this->date;
  43.     }
  44.     public function setDate(?\DateTimeInterface $date): self
  45.     {
  46.         $this->date $date;
  47.         return $this;
  48.     }
  49.     public function getDescription(): ?string
  50.     {
  51.         return $this->description;
  52.     }
  53.     public function setDescription(?string $description): self
  54.     {
  55.         $this->description $description;
  56.         return $this;
  57.     }
  58.     public function getFormation(): ?FormationElearning
  59.     {
  60.         return $this->formation;
  61.     }
  62.     public function setFormation(?FormationElearning $formation): self
  63.     {
  64.         $this->formation $formation;
  65.         return $this;
  66.     }
  67.     public function getUser(): ?User
  68.     {
  69.         return $this->user;
  70.     }
  71.     public function setUser(?User $user): self
  72.     {
  73.         $this->user $user;
  74.         return $this;
  75.     }
  76.     public function isIsVu(): ?bool
  77.     {
  78.         return $this->isVu;
  79.     }
  80.     public function setIsVu(?bool $isVu): self
  81.     {
  82.         $this->isVu $isVu;
  83.         return $this;
  84.     }
  85.     public function isIsConfirm(): ?bool
  86.     {
  87.         return $this->isConfirm;
  88.     }
  89.     public function setIsConfirm(?bool $isConfirm): self
  90.     {
  91.         $this->isConfirm $isConfirm;
  92.         return $this;
  93.     }
  94. }