src/Entity/SeanceDetail.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SeanceDetailRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSeanceDetailRepository::class)]
  7. class SeanceDetail
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::SMALLINT)]
  14.     private ?int $phase null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $duree null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $materiel null;
  19.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  20.     private ?string $deroulement null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $activiteEleve null;
  23.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  24.     private ?string $activiteProf null;
  25.     #[ORM\ManyToOne(inversedBy'refSeancesDetails')]
  26.     #[ORM\JoinColumn(nullablefalse)]
  27.     private ?Seance $refSeance null;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getPhase(): ?int
  33.     {
  34.         return $this->phase;
  35.     }
  36.     public function setPhase(int $phase): self
  37.     {
  38.         $this->phase $phase;
  39.         return $this;
  40.     }
  41.     public function getDuree(): ?string
  42.     {
  43.         return $this->duree;
  44.     }
  45.     public function setDuree(string $duree): self
  46.     {
  47.         $this->duree $duree;
  48.         return $this;
  49.     }
  50.     public function getMateriel(): ?string
  51.     {
  52.         return $this->materiel;
  53.     }
  54.     public function setMateriel(?string $materiel): self
  55.     {
  56.         $this->materiel $materiel;
  57.         return $this;
  58.     }
  59.     public function getDeroulement(): ?string
  60.     {
  61.         return $this->deroulement;
  62.     }
  63.     public function setDeroulement(?string $deroulement): self
  64.     {
  65.         $this->deroulement $deroulement;
  66.         return $this;
  67.     }
  68.     public function getActiviteEleve(): ?string
  69.     {
  70.         return $this->activiteEleve;
  71.     }
  72.     public function setActiviteEleve(?string $activiteEleve): self
  73.     {
  74.         $this->activiteEleve $activiteEleve;
  75.         return $this;
  76.     }
  77.     public function getActiviteProf(): ?string
  78.     {
  79.         return $this->activiteProf;
  80.     }
  81.     public function setActiviteProf(?string $activiteProf): self
  82.     {
  83.         $this->activiteProf $activiteProf;
  84.         return $this;
  85.     }
  86.     public function getRefSeance(): ?Seance
  87.     {
  88.         return $this->refSeance;
  89.     }
  90.     public function setRefSeance(?Seance $refSeance): self
  91.     {
  92.         $this->refSeance $refSeance;
  93.         return $this;
  94.     }
  95. }