src/Entity/Common/Adresse.php line 13
<?phpnamespace App\Entity\Common;use App\Entity\AbstractEntity;use App\Repository\Common\AdresseRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AdresseRepository::class)]#[ORM\HasLifecycleCallbacks]class Adresse extends AbstractEntity{#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $titre = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $ligne1 = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $ligne2 = null;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $statut = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $codePostal = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $ville = null;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $pays = null;#[ORM\Column(type: 'float', nullable: true)]private ?float $latitude = null;#[ORM\Column(type: 'float', nullable: true)]private ?float $longitude = null;#[ORM\Column(type: 'integer', nullable: true)]private ?int $numero = null;public function getNumero(): ?int{return $this->numero;}public function setNumero(?int $numero): Adresse{$this->numero = $numero;return $this;}public function getTitre(): ?string{return $this->titre;}public function setTitre(?string $titre): self{$this->titre = $titre;return $this;}public function getLigne1(): ?string{return $this->ligne1;}public function setLigne1(?string $ligne1): self{$this->ligne1 = $ligne1;return $this;}public function getLigne2(): ?string{return $this->ligne2;}public function setLigne2(?string $ligne2): self{$this->ligne2 = $ligne2;return $this;}public function isStatut(): ?bool{return $this->statut;}public function setStatut(?bool $statut): self{$this->statut = $statut;return $this;}public function getCodePostal(): ?string{return $this->codePostal;}public function setCodePostal(?string $codePostal): self{$this->codePostal = $codePostal;return $this;}public function getVille(): ?string{return $this->ville;}public function setVille(?string $ville): self{$this->ville = $ville;return $this;}public function getPays(): ?string{return $this->pays;}public function setPays(?string $pays): self{$this->pays = $pays;return $this;}public function getLatitude(): ?float{return $this->latitude;}public function setLatitude(?float $latitude): self{$this->latitude = $latitude;return $this;}public function getLongitude(): ?float{return $this->longitude;}public function setLongitude(?float $longitude): self{$this->longitude = $longitude;return $this;}public function getFullDesignation(): string{return $this->titre . ' ' . $this->ligne1 . ' ' . $this->ligne2 . ' ' . $this->codePostal . ' ' . $this->ville;}}