|
@@ -7,6 +7,7 @@ use Base\AdminBundle\Traits\TenancyIdTraitInterface;
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
use ExtraDataBundle\Entity\Traits\ExtraDataTrait;
|
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
|
+use JMS\Serializer\Annotation as JMS;
|
|
|
|
|
|
/**
|
|
|
* @ORM\Table
|
|
@@ -52,6 +53,7 @@ class Profile implements TenancyIdTraitInterface
|
|
|
|
|
|
/**
|
|
|
* @ORM\OneToMany(targetEntity="ONU", mappedBy="profile", fetch="EXTRA_LAZY")
|
|
|
+ * @JMS\Exclude
|
|
|
*/
|
|
|
protected $onus;
|
|
|
|