<?php
namespace Roothirsch\CoreBundle\Entity\Company;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Roothirsch\CoreBundle\Behaviors\Attributable\AttributeOption\AttributeOptionAwareTrait;
use Roothirsch\CoreBundle\Behaviors\Attributable\AttributeValue\AttributeValueAwareTrait;
use Roothirsch\CoreBundle\Behaviors\Attributable\MappedSuperclass\AbstractAttribute;
/**
* @ORM\Entity
*/
class CompanyAttribute extends AbstractAttribute
{
use AttributeOptionAwareTrait;
use AttributeValueAwareTrait;
/**
* @ORM\OneToMany(targetEntity=CompanyAttributeValue::class, mappedBy="attribute", orphanRemoval=true)
*/
private $attributeValues;
/**
* @ORM\OneToMany(targetEntity=CompanyAttributeOption::class, mappedBy="attribute", orphanRemoval=true, cascade={"persist"})
*/
private $attributeOptions;
}