Bläddra i källkod

Merged in FD3-459 (pull request #24)

Agregado de la localizacion al cmts

Approved-by: Guillermo Espinoza <guillermo@interlink.com.ar>
Gabriel Gosparo 6 år sedan
förälder
incheckning
695cc756b9
1 ändrade filer med 4 tillägg och 1 borttagningar
  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 ExtraDataBundle\Entity\Traits\ExtraDataTrait;
 use Gedmo\SoftDeleteable\Traits\SoftDeleteableEntity as SoftDeleteable;
 use Gedmo\SoftDeleteable\Traits\SoftDeleteableEntity as SoftDeleteable;
 use Base\AdminBundle\Interfaces\SoftDeleteInterface;
 use Base\AdminBundle\Interfaces\SoftDeleteInterface;
+use MapBundle\Entity\Interfaces\LocationInterface;
+use MapBundle\Entity\Traits\LocationTrait;
 
 
 /**
 /**
  * @ORM\Entity
  * @ORM\Entity
@@ -25,12 +27,13 @@ use Base\AdminBundle\Interfaces\SoftDeleteInterface;
  *
  *
  * @ValidatorAssert\Device
  * @ValidatorAssert\Device
  */
  */
-class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterface
+class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterface, LocationInterface
 {
 {
 
 
     use ExtraDataTrait;
     use ExtraDataTrait;
     use TenancyIdTrait;
     use TenancyIdTrait;
     use SoftDeleteable;
     use SoftDeleteable;
+    use LocationTrait;
 
 
     /**
     /**
      * @ORM\Column(name="id", type="bigint", nullable=false)
      * @ORM\Column(name="id", type="bigint", nullable=false)