<?php
namespace Roothirsch\PimBundle\Entity;
use Roothirsch\CoreBundle\Behaviors\Attributable\Attribute\AttributeAwareTrait;
use Roothirsch\CoreBundle\Behaviors\Attributable\MappedSuperclass\AbstractAttributeOption;
use Roothirsch\PimBundle\Repository\AttributeOptionRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use \Roothirsch\PimBundle\Entity\Attribute;
use \Roothirsch\PimBundle\Entity\AttributeValue;
/**
* @ORM\Entity(repositoryClass=AttributeOptionRepository::class)
* @ORM\Table(name="pim_attribute_option")
*/
class AttributeOption extends AbstractAttributeOption
{
use AttributeAwareTrait;
/**
* @ORM\ManyToOne(targetEntity=Attribute::class, inversedBy="attributeOptions")
* @ORM\JoinColumn(nullable=false)
*/
private $attribute;
}