<?phpnamespace App\Entity;use App\Repository\PhotoRecupererRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=PhotoRecupererRepository::class) */class PhotoRecuperer{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="text") */ private $lien; /** * @ORM\Column(type="datetime") */ private $createdat; /** * @ORM\Column(type="boolean", nullable=true) */ private $isnotsure; /** * @ORM\ManyToOne(targetEntity=User::class) */ private $creator; /** * @ORM\ManyToOne(targetEntity=Product::class) */ private $produit; /** * @ORM\Column(type="boolean", nullable=true) */ private $downloaded; /** * @ORM\Column(type="boolean", nullable=true) */ private $notdisponible; public function getId(): ?int { return $this->id; } public function getLien(): ?string { return $this->lien; } public function setLien(string $lien): self { $this->lien = $lien; return $this; } public function getCreatedat(): ?\DateTimeInterface { return $this->createdat; } public function setCreatedat(\DateTimeInterface $createdat): self { $this->createdat = $createdat; return $this; } public function isIsnotsure(): ?bool { return $this->isnotsure; } public function setIsnotsure(?bool $isnotsure): self { $this->isnotsure = $isnotsure; return $this; } public function getCreator(): ?User { return $this->creator; } public function setCreator(?User $creator): self { $this->creator = $creator; return $this; } public function getProduit(): ?Product { return $this->produit; } public function setProduit(?Product $produit): self { $this->produit = $produit; return $this; } public function isDownloaded(): ?bool { return $this->downloaded; } public function setDownloaded(?bool $downloaded): self { $this->downloaded = $downloaded; return $this; } public function isNotdisponible(): ?bool { return $this->notdisponible; } public function setNotdisponible(?bool $notdisponible): self { $this->notdisponible = $notdisponible; return $this; }}