<?phpnamespace App\Entity\File;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity * @ORM\HasLifecycleCallbacks */class Signi extends File{ /** * @ORM\OneToOne(targetEntity=File::class, cascade={"persist", "remove"}) * @ORM\JoinColumn(nullable=true) */ private $jsonFile; public function getJsonFile(): ?File { return $this->jsonFile; } public function setJsonFile(File $jsonFile): self { $this->jsonFile = $jsonFile; return $this; }}