|
@@ -81,11 +81,16 @@ class ONU
|
|
|
* @ORM\Column(type="string", nullable=true)
|
|
|
*/
|
|
|
protected $currentState = null;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @ORM\Column(type="string", nullable=true)
|
|
|
+ */
|
|
|
+ protected $administrativeState = 'active';
|
|
|
|
|
|
/**
|
|
|
- * @ORM\Column(type="string", nullable=false, options={"default": "pending"})
|
|
|
+ * @ORM\Column(type="string", nullable=false, options={"default": "success"})
|
|
|
*/
|
|
|
- protected $transitionState = 'pending';
|
|
|
+ protected $transitionState = 'success';
|
|
|
|
|
|
/**
|
|
|
* @ORM\ManyToOne(targetEntity="OLT", inversedBy="onus", fetch="EXTRA_LAZY")
|
|
@@ -293,6 +298,26 @@ class ONU
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get administrativeState
|
|
|
+ *
|
|
|
+ */
|
|
|
+ public function getAdministrativeState()
|
|
|
+ {
|
|
|
+ return $this->administrativeState;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Set administrativeState
|
|
|
+ *
|
|
|
+ */
|
|
|
+ public function setAdministrativeState($administrativeState)
|
|
|
+ {
|
|
|
+ $this->administrativeState = $administrativeState;
|
|
|
+
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Get transitionState
|
|
|
*
|