src/Entity/CRM/ZoomConfig.php line 11
<?phpnamespace App\Entity\CRM;use App\Repository\ZoomConfigRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ZoomConfigRepository::class)]class ZoomConfig{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $accountId = null;#[ORM\Column(length: 255)]private ?string $accountEmail = null;#[ORM\Column(length: 255)]private ?string $clientId = null;#[ORM\Column(length: 255)]private ?string $clientSecret = null;#[ORM\OneToMany(mappedBy: 'zoomConfig', targetEntity: ZoomMeeting::class)]private Collection $zoomMeetings;public function __toString(){return $this->accountEmail;}public function __construct(){$this->zoomMeetings = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getAccountId(): ?string{return $this->accountId;}public function setAccountId(string $accountId): static{$this->accountId = $accountId;return $this;}public function getAccountEmail(): ?string{return $this->accountEmail;}public function setAccountEmail(string $accountEmail): static{$this->accountEmail = $accountEmail;return $this;}public function getClientId(): ?string{return $this->clientId;}public function setClientId(string $clientId): static{$this->clientId = $clientId;return $this;}public function getClientSecret(): ?string{return $this->clientSecret;}public function setClientSecret(string $clientSecret): static{$this->clientSecret = $clientSecret;return $this;}/*** @return Collection<int, ZoomMeeting>*/public function getZoomMeetings(): Collection{return $this->zoomMeetings;}public function addZoomMeeting(ZoomMeeting $zoomMeeting): static{if (!$this->zoomMeetings->contains($zoomMeeting)) {$this->zoomMeetings->add($zoomMeeting);$zoomMeeting->setZoomConfig($this);}return $this;}public function removeZoomMeeting(ZoomMeeting $zoomMeeting): static{if ($this->zoomMeetings->removeElement($zoomMeeting)) {// set the owning side to null (unless already changed)if ($zoomMeeting->getZoomConfig() === $this) {$zoomMeeting->setZoomConfig(null);}}return $this;}}