<?php
namespace Roothirsch\ShopBundle\Entity\Order;
use Doctrine\ORM\Mapping as ORM;
use Roothirsch\CoreBundle\Behaviors\Attributable\Attribute\AttributeAwareTrait;
use Roothirsch\CoreBundle\Behaviors\Attributable\MappedSuperclass\AbstractAttributeOption;
use Roothirsch\ShopBundle\Entity\Order\OrderAttribute;
use Roothirsch\ShopBundle\Entity\Order;
/**
* @ORM\Entity(repositoryClass=OrderAttributeOptionRepository::class)
* @ORM\Table(name="shop_order_attribute_option")
*/
class OrderAttributeOption extends AbstractAttributeOption
{
use AttributeAwareTrait;
/**
* @ORM\ManyToOne(targetEntity=OrderAttribute::class, inversedBy="attributeOptions")
* @ORM\JoinColumn(nullable=false)
*/
private $attribute;
}