<?php
namespace App\Entity\Main;
use Doctrine\ORM\Mapping as ORM;
/**
* ApiPropertiesCertificatesImages
*
* @ORM\Table(name="api_properties_certificates_images", indexes={@ORM\Index(name="idcens", columns={"id_property"})})
* @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesCertificatesImagesRepository")
*/
class ApiPropertiesCertificatesImages
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="id_property", type="integer", nullable=false)
*/
private $idProperty;
/**
* @var string|null
*
* @ORM\Column(name="url", type="text", length=65535, nullable=true, options={"default"="NULL"})
*/
private $url = 'NULL';
public function getId(): ?int
{
return $this->id;
}
public function getIdProperty(): ?int
{
return $this->idProperty;
}
public function setIdProperty(int $idProperty): self
{
$this->idProperty = $idProperty;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
}