Explorar el Código

Merged in FD3-459 (pull request #24)

Agregado de la localizacion al cmts

Approved-by: Guillermo Espinoza <guillermo@interlink.com.ar>
Gabriel Gosparo hace 6 años
padre
commit
695cc756b9
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/CablemodemBundle/Entity/CMTS.php

+ 4 - 1
src/CablemodemBundle/Entity/CMTS.php

@@ -14,6 +14,8 @@ use DeviceBundle\Validator\Constraints as ValidatorAssert;
 use ExtraDataBundle\Entity\Traits\ExtraDataTrait;
 use Gedmo\SoftDeleteable\Traits\SoftDeleteableEntity as SoftDeleteable;
 use Base\AdminBundle\Interfaces\SoftDeleteInterface;
+use MapBundle\Entity\Interfaces\LocationInterface;
+use MapBundle\Entity\Traits\LocationTrait;
 
 /**
  * @ORM\Entity
@@ -25,12 +27,13 @@ use Base\AdminBundle\Interfaces\SoftDeleteInterface;
  *
  * @ValidatorAssert\Device
  */
-class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterface
+class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterface, LocationInterface
 {
 
     use ExtraDataTrait;
     use TenancyIdTrait;
     use SoftDeleteable;
+    use LocationTrait;
 
     /**
      * @ORM\Column(name="id", type="bigint", nullable=false)