<?phpnamespace App\Entity;use App\Repository\SeanceDetailRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: SeanceDetailRepository::class)]class SeanceDetail{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::SMALLINT)] private ?int $phase = null; #[ORM\Column(length: 255)] private ?string $duree = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $materiel = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $deroulement = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $activiteEleve = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $activiteProf = null; #[ORM\ManyToOne(inversedBy: 'refSeancesDetails')] #[ORM\JoinColumn(nullable: false)] private ?Seance $refSeance = null; public function getId(): ?int { return $this->id; } public function getPhase(): ?int { return $this->phase; } public function setPhase(int $phase): self { $this->phase = $phase; return $this; } public function getDuree(): ?string { return $this->duree; } public function setDuree(string $duree): self { $this->duree = $duree; return $this; } public function getMateriel(): ?string { return $this->materiel; } public function setMateriel(?string $materiel): self { $this->materiel = $materiel; return $this; } public function getDeroulement(): ?string { return $this->deroulement; } public function setDeroulement(?string $deroulement): self { $this->deroulement = $deroulement; return $this; } public function getActiviteEleve(): ?string { return $this->activiteEleve; } public function setActiviteEleve(?string $activiteEleve): self { $this->activiteEleve = $activiteEleve; return $this; } public function getActiviteProf(): ?string { return $this->activiteProf; } public function setActiviteProf(?string $activiteProf): self { $this->activiteProf = $activiteProf; return $this; } public function getRefSeance(): ?Seance { return $this->refSeance; } public function setRefSeance(?Seance $refSeance): self { $this->refSeance = $refSeance; return $this; }}