|
@@ -66,6 +66,13 @@ class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterf
|
|
|
* @ORM\Column(type="boolean", nullable=true, columnDefinition="BOOLEAN DEFAULT TRUE")
|
|
|
*/
|
|
|
protected $executeSnmp = true;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @ORM\Column(type="integer")
|
|
|
+ *
|
|
|
+ * @Assert\NotNull
|
|
|
+ */
|
|
|
+ protected $docsVersion;
|
|
|
|
|
|
/**
|
|
|
* @ORM\ManyToOne(targetEntity="CMTSModel", fetch="EXTRA_LAZY")
|
|
@@ -232,6 +239,7 @@ class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterf
|
|
|
'modelId' => $this->model ? $this->model->getId() : null,
|
|
|
'snmpCommunity' => $this->snmpCommunity,
|
|
|
'snmpVersion' => $this->snmpVersion,
|
|
|
+ 'docsVersion' => $this->docsVersion,
|
|
|
'executeSnmp' => $this->executeSnmp,
|
|
|
];
|
|
|
|
|
@@ -292,4 +300,24 @@ class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterf
|
|
|
return $this->timeCmtsOctets;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getDocsVersion()
|
|
|
+ {
|
|
|
+ return $this->docsVersion;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param int $docsVersion
|
|
|
+ *
|
|
|
+ * @return $this
|
|
|
+ */
|
|
|
+ public function setDocsVersion($docsVersion)
|
|
|
+ {
|
|
|
+ $this->docsVersion = $docsVersion;
|
|
|
+
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
}
|