|
@@ -11,6 +11,8 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|
|
use Symfony\Component\Workflow\Exception\ExceptionInterface;
|
|
|
use DeviceBundle\Validator\Constraints as ValidatorAssert;
|
|
|
use DeviceBundle\Interfaces\DeviceInterface;
|
|
|
+use MapBundle\Entity\Interfaces\LocationInterface;
|
|
|
+use MapBundle\Entity\Traits\LocationTrait;
|
|
|
|
|
|
/**
|
|
|
* @ORM\Entity
|
|
@@ -18,11 +20,13 @@ use DeviceBundle\Interfaces\DeviceInterface;
|
|
|
*
|
|
|
* @ValidatorAssert\Device
|
|
|
*/
|
|
|
-class OLT implements DeviceInterface, TenancyIdTraitInterface
|
|
|
+class OLT implements DeviceInterface, TenancyIdTraitInterface, LocationInterface
|
|
|
{
|
|
|
|
|
|
use ExtraDataTrait;
|
|
|
use TenancyIdTrait;
|
|
|
+ use LocationTrait;
|
|
|
+
|
|
|
/**
|
|
|
* @var bigint $id
|
|
|
*
|