src/Entity/Main/ApiPropertiesCertificatesImages.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApiPropertiesCertificatesImages
  6.  *
  7.  * @ORM\Table(name="api_properties_certificates_images", indexes={@ORM\Index(name="idcens", columns={"id_property"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesCertificatesImagesRepository")
  9.  */
  10. class ApiPropertiesCertificatesImages
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="id_property", type="integer", nullable=false)
  24.      */
  25.     private $idProperty;
  26.     /**
  27.      * @var string|null
  28.      *
  29.      * @ORM\Column(name="url", type="text", length=65535, nullable=true, options={"default"="NULL"})
  30.      */
  31.     private $url 'NULL';
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getIdProperty(): ?int
  37.     {
  38.         return $this->idProperty;
  39.     }
  40.     public function setIdProperty(int $idProperty): self
  41.     {
  42.         $this->idProperty $idProperty;
  43.         return $this;
  44.     }
  45.     public function getUrl(): ?string
  46.     {
  47.         return $this->url;
  48.     }
  49.     public function setUrl(?string $url): self
  50.     {
  51.         $this->url $url;
  52.         return $this;
  53.     }
  54. }