|
@@ -155,23 +155,29 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
protected $voip = null;
|
|
|
|
|
|
/**
|
|
|
- * @ORM\Column(type="boolean", nullable=true)
|
|
|
- */
|
|
|
- protected $fixedIP = false;
|
|
|
+ * @ORM\Column(type="string", nullable=true)
|
|
|
+ */
|
|
|
+ protected $fixedIP;
|
|
|
|
|
|
/**
|
|
|
- * @ORM\Column(type="boolean", nullable=true)
|
|
|
- */
|
|
|
- protected $cpeFixedIP = false;
|
|
|
+ * @ORM\Column(type="string", nullable=true)
|
|
|
+ *
|
|
|
+ * @Assert\Ip()
|
|
|
+ */
|
|
|
+ protected $cpeFixedIP;
|
|
|
|
|
|
/**
|
|
|
- * @ORM\Column(type="boolean", nullable=true)
|
|
|
- */
|
|
|
- protected $mtaFixedIP = false;
|
|
|
+ * @ORM\Column(type="string", nullable=true)
|
|
|
+ *
|
|
|
+ * @Assert\Ip()
|
|
|
+ */
|
|
|
+ protected $mtaFixedIP;
|
|
|
|
|
|
/**
|
|
|
- * @ORM\Column(type="text", nullable=true)
|
|
|
- */
|
|
|
+ * @ORM\Column(type="text", nullable=true)
|
|
|
+ *
|
|
|
+ * @Assert\Ip()
|
|
|
+ */
|
|
|
protected $comments;
|
|
|
|
|
|
|
|
@@ -458,7 +464,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @return boolean
|
|
|
+ * @return string
|
|
|
*/
|
|
|
public function getFixedIP()
|
|
|
{
|
|
@@ -466,7 +472,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param boolean $fixedIP
|
|
|
+ * @param string $fixedIP
|
|
|
*
|
|
|
* @return Cablemodem
|
|
|
*/
|
|
@@ -478,7 +484,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @return boolean
|
|
|
+ * @return string
|
|
|
*/
|
|
|
public function getCpeFixedIP()
|
|
|
{
|
|
@@ -486,7 +492,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param boolean $cpeFixedIP
|
|
|
+ * @param string $cpeFixedIP
|
|
|
*
|
|
|
* @return Cablemodem
|
|
|
*/
|
|
@@ -498,7 +504,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @return boolean
|
|
|
+ * @return string
|
|
|
*/
|
|
|
public function getMtaFixedIP()
|
|
|
{
|
|
@@ -506,7 +512,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param boolean $mtaFixedIP
|
|
|
+ * @param string $mtaFixedIP
|
|
|
*
|
|
|
* @return Cablemodem
|
|
|
*/
|