فهرست منبع

Se agregó la ubicación a la entidad OLT

Guillermo Espinoza 7 سال پیش
والد
کامیت
126e8d9579
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      src/FTTHBundle/Entity/OLT.php

+ 5 - 1
src/FTTHBundle/Entity/OLT.php

@@ -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
      *