src/Entity/HubLocation.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HubLocationRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassHubLocationRepository::class)]
  7. class HubLocation
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $productType null;
  15.     #[ORM\Column(typeTypes::TEXT)]
  16.     private ?string $dataJson null;
  17.     #[ORM\Column(length45)]
  18.     private ?string $value null;
  19.     #[ORM\Column(length45)]
  20.     private ?string $valueType null;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getProductType(): ?string
  26.     {
  27.         return $this->productType;
  28.     }
  29.     public function setProductType(string $productType): static
  30.     {
  31.         $this->productType $productType;
  32.         return $this;
  33.     }
  34.     public function getDataJson(): ?string
  35.     {
  36.         return $this->dataJson;
  37.     }
  38.     public function setDataJson(string $dataJson): static
  39.     {
  40.         $this->dataJson $dataJson;
  41.         return $this;
  42.     }
  43.     public function getValue(): ?string
  44.     {
  45.         return $this->value;
  46.     }
  47.     public function setValue(string $value): static
  48.     {
  49.         $this->value $value;
  50.         return $this;
  51.     }
  52.     public function getValueType(): ?string
  53.     {
  54.         return $this->valueType;
  55.     }
  56.     public function setValueType(string $valueType): static
  57.     {
  58.         $this->valueType $valueType;
  59.         return $this;
  60.     }
  61. }