<?php
namespace App\Entity;
use App\Repository\HubLocationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HubLocationRepository::class)]
class HubLocation
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $productType = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $dataJson = null;
#[ORM\Column(length: 45)]
private ?string $value = null;
#[ORM\Column(length: 45)]
private ?string $valueType = null;
public function getId(): ?int
{
return $this->id;
}
public function getProductType(): ?string
{
return $this->productType;
}
public function setProductType(string $productType): static
{
$this->productType = $productType;
return $this;
}
public function getDataJson(): ?string
{
return $this->dataJson;
}
public function setDataJson(string $dataJson): static
{
$this->dataJson = $dataJson;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(string $value): static
{
$this->value = $value;
return $this;
}
public function getValueType(): ?string
{
return $this->valueType;
}
public function setValueType(string $valueType): static
{
$this->valueType = $valueType;
return $this;
}
}