<?phpnamespace App\Entity;use App\Repository\AnalyticsRequestsRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=AnalyticsRequestsRepository::class) */class AnalyticsRequests{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Customer::class, inversedBy="analyticsRequests") */ private $customer; /** * @ORM\Column(type="string", length=255) */ private $type; /** * @ORM\Column(type="json") */ private $request = []; /** * @ORM\Column(type="json", nullable=true) */ private $result = []; /** * @ORM\Column(type="datetime") */ private $created; /** * @ORM\ManyToOne(targetEntity=CurrencyPair::class) */ private $currencyPair; /** * @ORM\Column(type="boolean", nullable=true) */ private $status; public function getId(): ?int { return $this->id; } public function getCustomer(): ?Customer { return $this->customer; } public function setCustomer(?Customer $customer): self { $this->customer = $customer; return $this; } public function getType(): ?string { return $this->type; } public function setType(string $type): self { $this->type = $type; return $this; } public function getRequest(): ?array { return $this->request; } public function setRequest(array $request): self { $this->request = $request; return $this; } public function getResult(): ?array { return $this->result; } public function setResult(?array $result): self { $this->result = $result; return $this; } public function getCreated(): ?\DateTimeInterface { return $this->created; } public function setCreated(\DateTimeInterface $created): self { $this->created = $created; return $this; } public function getCurrencyPair(): ?CurrencyPair { return $this->currencyPair; } public function setCurrencyPair(?CurrencyPair $currencyPair): self { $this->currencyPair = $currencyPair; return $this; } public function getStatus(): ?bool { return $this->status; } public function setStatus(?bool $status): self { $this->status = $status; return $this; }}