<?phpnamespace App\Entity;use App\Repository\LiveRecordRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=LiveRecordRepository::class) */class LiveRecord extends BaseEntity{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Live::class, inversedBy="liveRecords") * @ORM\JoinColumn(nullable=false) */ private $live; /** * @ORM\ManyToOne(targetEntity=FileManager::class, cascade={"remove"}) */ private $recordFile; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $link; /** * @ORM\Column(type="boolean", nullable=true) */ private $isAlreadyDownloaded; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $path; /** * @ORM\Column(type="boolean", nullable=true) */ private $isJaas; 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 getRecordFile(): ?FileManager { return $this->recordFile; } public function setRecordFile(?FileManager $recordFile): self { $this->recordFile = $recordFile; return $this; } public function getLink(): ?string { return $this->link; } public function setLink(?string $link): self { $this->link = $link; return $this; } public function isIsAlreadyDownloaded(): ?bool { return $this->isAlreadyDownloaded; } public function setIsAlreadyDownloaded(?bool $isAlreadyDownloaded): self { $this->isAlreadyDownloaded = $isAlreadyDownloaded; return $this; } public function getPath(): ?string { return $this->path; } public function setPath(?string $path): self { $this->path = $path; return $this; } public function isIsJaas(): ?bool { return $this->isJaas; } public function setIsJaas(?bool $isJaas): self { $this->isJaas = $isJaas; return $this; }}