<?phpnamespace App\Entity;use App\Repository\LiveParticipantRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=LiveParticipantRepository::class) */class LiveParticipant{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Live::class, inversedBy="liveParticipants") */ private $live; /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="liveParticipants") */ private $participant; /** * @ORM\Column(type="datetime") */ private $startAt; /** * @ORM\Column(type="datetime", nullable=true) */ private $endAt; /** * @ORM\Column(type="string", length=255) */ private $jitsiId; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $jitsiDisplayName; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $jitsiFormattedDisplayName; public function getId(): ?int { return $this->id; } public function getLive(): ?Live { return $this->live; } public function setLive(?Live $live): self { $this->live = $live; return $this; } public function getParticipant(): ?User { return $this->participant; } public function setParticipant(?User $participant): self { $this->participant = $participant; return $this; } public function getStartAt(): ?\DateTimeInterface { return $this->startAt; } public function setStartAt(\DateTimeInterface $startAt): self { $this->startAt = $startAt; return $this; } public function getEndAt(): ?\DateTimeInterface { return $this->endAt; } public function setEndAt(?\DateTimeInterface $endAt): self { $this->endAt = $endAt; return $this; } public function getJitsiId(): ?string { return $this->jitsiId; } public function setJitsiId(string $jitsiId): self { $this->jitsiId = $jitsiId; return $this; } public function getJitsiDisplayName(): ?string { return $this->jitsiDisplayName; } public function setJitsiDisplayName(?string $jitsiDisplayName): self { $this->jitsiDisplayName = $jitsiDisplayName; return $this; } public function getJitsiFormattedDisplayName(): ?string { return $this->jitsiFormattedDisplayName; } public function setJitsiFormattedDisplayName(?string $jitsiFormattedDisplayName): self { $this->jitsiFormattedDisplayName = $jitsiFormattedDisplayName; return $this; }}