<?phpnamespace App\Entity;use App\Entity\Traits\IdTrait;use App\Entity\Traits\TimeStampAbleTrait;use DateTime;use Doctrine\ORM\Mapping as ORM;use App\Repository\AddressRepository;/** * @ORM\Entity(repositoryClass=AddressRepository::class) * @ORM\HasLifecycleCallbacks */class Address{ use IdTrait; use TimeStampAbleTrait; /** * @ORM\Column(type="string", length=255, nullable=true) */ private ?string $address = null; /** * @ORM\Column(type="string", length=255, nullable=true) */ private ?string $postCode = null; /** * @ORM\Column(type="string", length=255, nullable=true) */ private ?string $city = null; /** * @ORM\Column(type="string", length=255, nullable=true) */ private ?string $country = null; public function __clone() { $this->id = null; } public function cloneObject(): self { return clone $this; } /** * @return string|null */ public function getAddress(): ?string { return $this->address; } /** * @param string|null $address */ public function setAddress(?string $address): self { $this->address = $address; return $this; } /** * @return string|null */ public function getPostCode(): ?string { return $this->postCode; } /** * @param string|null $postCode */ public function setPostCode(?string $postCode): self { $this->postCode = $postCode; return $this; } /** * @return string|null */ public function getCity(): ?string { return $this->city; } /** * @param string|null $city */ public function setCity(?string $city): self { $this->city = $city; return $this; } /** * @return string|null */ public function getCountry(): ?string { return $this->country; } /** * @param string|null $country */ public function setCountry(?string $country): self { $this->country = $country; return $this; }}