<?phpnamespace App\Entity\ObjectValue;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Embeddable */class Store{ /** * @ORM\Column(type="string", nullable=true) * * @var string */ protected $code; /** * @ORM\Column(type="string", nullable=true) * * @var string */ protected $name; /** * @ORM\Column(type="string", nullable=true) * * @var string */ protected $location; /** * @ORM\Column(type="string", nullable=true) * * @var string */ protected $email; /** * @ORM\Column(type="string", nullable=true) * * @var string */ protected $address; /** * @ORM\Column(type="float", nullable=true) */ protected $latitude; /** * @ORM\Column(type="float", nullable=true) */ protected $longitude; public function getCode(): ?string { return $this->code; } /** * @return Store */ public function setCode(string $code): self { $this->code = $code; return $this; } /** * @return string */ public function getName(): ?string { return $this->name; } /** * @return Store */ public function setName(string $name): self { $this->name = $name; return $this; } public function getLocation(): ?string { return $this->location; } /** * @return Store */ public function setLocation(string $location): self { $this->location = $location; return $this; } public function getEmail(): ?string { return $this->email; } /** * @return Store */ public function setEmail(string $email): self { $this->email = $email; return $this; } /** * @return string */ public function getAddress(): ?string { return $this->address; } /** * @return Store */ public function setAddress(string $address): self { $this->address = $address; 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; }}