vendor/roothirsch/shop-bundle/Entity/Estimate/EstimateAttributeOption.php line 16

Open in your IDE?
  1. <?php
  2. namespace Roothirsch\ShopBundle\Entity\Estimate;
  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\Estimate\EstimateAttribute;
  7. use Roothirsch\ShopBundle\Repository\AttributeOptionRepository;
  8. use Roothirsch\ShopBundle\Entity\Estimate;
  9. /**
  10. * @ORM\Entity(repositoryClass=AttributeOptionRepository::class)
  11. * @ORM\Table(name="shop_estimate_attribute_option")
  12. */
  13. class EstimateAttributeOption extends AbstractAttributeOption
  14. {
  15. use AttributeAwareTrait;
  16. /**
  17. * @ORM\ManyToOne(targetEntity=EstimateAttribute::class, inversedBy="attributeOptions")
  18. * @ORM\JoinColumn(nullable=false)
  19. */
  20. private $attribute;
  21. }