src/Flexy/Apps/ListingBundle/Entity/ListingOption.php line 11
<?php
namespace App\Flexy\Apps\ListingBundle\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\Flexy\Apps\ListingBundle\Entity\ListingOptionRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ListingOptionRepository::class)]
#[ApiResource]
class ListingOption
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $optionName = null;
#[ORM\Column(nullable: true)]
private ?array $metaData = null;
public function getId(): ?int
{
return $this->id;
}
public function getOptionName(): ?string
{
return $this->optionName;
}
public function setOptionName(?string $optionName): static
{
$this->optionName = $optionName;
return $this;
}
public function getMetaData(): ?array
{
return $this->metaData;
}
public function setMetaData(?array $metaData): static
{
$this->metaData = $metaData;
return $this;
}
}