Browse Source

Agregado de la localizacion al cmts

gabriel 6 years ago
parent
commit
9cf77b0b18
1 changed files with 4 additions and 1 deletions
  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)