|
@@ -5,6 +5,7 @@ namespace StatsBundle\Entity;
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
|
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
|
+use JMS\Serializer\Annotation as JMS;
|
|
|
|
|
|
/**
|
|
|
* @ORM\Table
|
|
@@ -57,6 +58,8 @@ class DeviceServer
|
|
|
|
|
|
/**
|
|
|
* @ORM\OneToMany(targetEntity="Device", mappedBy="deviceServer", fetch="EXTRA_LAZY")
|
|
|
+ *
|
|
|
+ * @JMS\Exclude
|
|
|
*/
|
|
|
protected $devices;
|
|
|
|