<?phpnamespace App\Entity;use ApiPlatform\Core\Annotation\ApiResource;use App\Repository\VideoclassroomRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: VideoclassroomRepository::class)]#[ApiResource]class Videoclassroom{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255, nullable: true)] private ?string $video = null; #[ORM\ManyToOne(inversedBy: 'videoclassrooms')] private ?VirtualClassroom $virtualclass = null; #[ORM\Column(length: 255, nullable: true)] private ?string $titre = null; #[ORM\Column(length: 255, nullable: true)] private ?string $idvideo = null; #[ORM\Column(length: 255, nullable: true)] private ?string $embed = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $date = null; public function getId(): ?int { return $this->id; } public function getVideo(): ?string { return $this->video; } public function setVideo(?string $video): self { $this->video = $video; return $this; } public function getVirtualclass(): ?VirtualClassroom { return $this->virtualclass; } public function setVirtualclass(?VirtualClassroom $virtualclass): self { $this->virtualclass = $virtualclass; return $this; } public function getTitre(): ?string { return $this->titre; } public function setTitre(?string $titre): self { $this->titre = $titre; return $this; } public function getIdvideo(): ?string { return $this->idvideo; } public function setIdvideo(?string $idvideo): self { $this->idvideo = $idvideo; return $this; } public function getEmbed(): ?string { return $this->embed; } public function setEmbed(?string $embed): self { $this->embed = $embed; return $this; } public function getDate(): ?\DateTimeInterface { return $this->date; } public function setDate(?\DateTimeInterface $date): self { $this->date = $date; return $this; }}