<?phpnamespace App\Entity;use App\Repository\AddressRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AddressRepository::class)]class Address{ use IdentifiableTrait; #[ORM\Column(length: 255)] private ?string $addressLine1 = null; #[ORM\Column(length: 255, nullable: true)] private ?string $addressLine2 = null; #[ORM\Column(length: 10)] private ?string $postalCode = null; #[ORM\Column(length: 255)] private ?string $city = null; #[ORM\ManyToOne] private ?Country $country = null; #[ORM\Column(nullable: true)] private ?float $latitude = null; #[ORM\Column(nullable: true)] private ?float $longitude = null; public function getId(): ?int { return $this->id; } public function getAddressLine1(): ?string { return $this->addressLine1; } public function setAddressLine1(string $addressLine1): static { $this->addressLine1 = $addressLine1; return $this; } public function getAddressLine2(): ?string { return $this->addressLine2; } public function setAddressLine2(string $addressLine2): static { $this->addressLine2 = $addressLine2; return $this; } public function getPostalCode(): ?string { return $this->postalCode; } public function setPostalCode(string $postalCode): static { $this->postalCode = $postalCode; return $this; } public function getCity(): ?string { return $this->city; } public function setCity(string $city): static { $this->city = $city; return $this; } public function getCountry(): ?Country { return $this->country; } public function setCountry(?Country $country): static { $this->country = $country; return $this; } public function getLatitude(): ?float { return $this->latitude; } public function setLatitude(?float $latitude): static { $this->latitude = $latitude; return $this; } public function getLongitude(): ?float { return $this->longitude; } public function setLongitude(?float $longitude): static { $this->longitude = $longitude; return $this; }}