|
@@ -130,6 +130,12 @@ class ONU
|
|
|
*/
|
|
|
protected $workflow;
|
|
|
|
|
|
+ /**
|
|
|
+ * @var int
|
|
|
+ *
|
|
|
+ * @ORM\Column(type="integer", nullable=false, options={"default": "0"})
|
|
|
+ */
|
|
|
+ private $position = 0;
|
|
|
|
|
|
/**
|
|
|
* @return string
|
|
@@ -554,4 +560,25 @@ class ONU
|
|
|
return $workflow;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get getPosition
|
|
|
+ *
|
|
|
+ * @return int
|
|
|
+ */
|
|
|
+ public function getPosition(){
|
|
|
+ return $this->position;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Set getPosition
|
|
|
+ *
|
|
|
+ * No se recomienda usar este metodo, porque se debe calcular a partir del NAP
|
|
|
+ *
|
|
|
+ * @return $this
|
|
|
+ */
|
|
|
+ public function setPosition($position){
|
|
|
+ $this->position = $position;
|
|
|
+
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
}
|