vendor/roothirsch/shop-bundle/Entity/Order/OrderAttributeOption.php line 15

Open in your IDE?
  1. <?php
  2. namespace Roothirsch\ShopBundle\Entity\Order;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Roothirsch\CoreBundle\Behaviors\Attributable\Attribute\AttributeAwareTrait;
  5. use Roothirsch\CoreBundle\Behaviors\Attributable\MappedSuperclass\AbstractAttributeOption;
  6. use Roothirsch\ShopBundle\Entity\Order\OrderAttribute;
  7. use Roothirsch\ShopBundle\Entity\Order;
  8. /**
  9. * @ORM\Entity(repositoryClass=OrderAttributeOptionRepository::class)
  10. * @ORM\Table(name="shop_order_attribute_option")
  11. */
  12. class OrderAttributeOption extends AbstractAttributeOption
  13. {
  14. use AttributeAwareTrait;
  15. /**
  16. * @ORM\ManyToOne(targetEntity=OrderAttribute::class, inversedBy="attributeOptions")
  17. * @ORM\JoinColumn(nullable=false)
  18. */
  19. private $attribute;
  20. }