src/Entity/PhotoRecuperer.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PhotoRecupererRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PhotoRecupererRepository::class)
  7.  */
  8. class PhotoRecuperer
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="text")
  18.      */
  19.     private $lien;
  20.     /**
  21.      * @ORM\Column(type="datetime")
  22.      */
  23.     private $createdat;
  24.     /**
  25.      * @ORM\Column(type="boolean", nullable=true)
  26.      */
  27.     private $isnotsure;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=User::class)
  30.      */
  31.     private $creator;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=Product::class)
  34.      */
  35.     private $produit;
  36.     /**
  37.      * @ORM\Column(type="boolean", nullable=true)
  38.      */
  39.     private $downloaded;
  40.     /**
  41.      * @ORM\Column(type="boolean", nullable=true)
  42.      */
  43.     private $notdisponible;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getLien(): ?string
  49.     {
  50.         return $this->lien;
  51.     }
  52.     public function setLien(string $lien): self
  53.     {
  54.         $this->lien $lien;
  55.         return $this;
  56.     }
  57.     public function getCreatedat(): ?\DateTimeInterface
  58.     {
  59.         return $this->createdat;
  60.     }
  61.     public function setCreatedat(\DateTimeInterface $createdat): self
  62.     {
  63.         $this->createdat $createdat;
  64.         return $this;
  65.     }
  66.     public function isIsnotsure(): ?bool
  67.     {
  68.         return $this->isnotsure;
  69.     }
  70.     public function setIsnotsure(?bool $isnotsure): self
  71.     {
  72.         $this->isnotsure $isnotsure;
  73.         return $this;
  74.     }
  75.     public function getCreator(): ?User
  76.     {
  77.         return $this->creator;
  78.     }
  79.     public function setCreator(?User $creator): self
  80.     {
  81.         $this->creator $creator;
  82.         return $this;
  83.     }
  84.     public function getProduit(): ?Product
  85.     {
  86.         return $this->produit;
  87.     }
  88.     public function setProduit(?Product $produit): self
  89.     {
  90.         $this->produit $produit;
  91.         return $this;
  92.     }
  93.     public function isDownloaded(): ?bool
  94.     {
  95.         return $this->downloaded;
  96.     }
  97.     public function setDownloaded(?bool $downloaded): self
  98.     {
  99.         $this->downloaded $downloaded;
  100.         return $this;
  101.     }
  102.     public function isNotdisponible(): ?bool
  103.     {
  104.         return $this->notdisponible;
  105.     }
  106.     public function setNotdisponible(?bool $notdisponible): self
  107.     {
  108.         $this->notdisponible $notdisponible;
  109.         return $this;
  110.     }
  111. }