|
@@ -40,6 +40,7 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
* @var int
|
|
|
*
|
|
|
* @ORM\Column(type="integer", nullable=false)
|
|
|
+ *
|
|
|
* @Assert\NotNull
|
|
|
*/
|
|
|
private $clientId;
|
|
@@ -55,24 +56,17 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
private $password;
|
|
|
|
|
|
/**
|
|
|
- * //@ ORM\OneToOne(targetEntity="\Flowdat2\DhcpBundle\Entity\AssignedIP", cascade={"remove"})
|
|
|
- * //@ ORM\JoinColumn(nullable=true)
|
|
|
* @ORM\Column(type="string", length=39, nullable=true)
|
|
|
*/
|
|
|
private $static_ip;
|
|
|
|
|
|
/**
|
|
|
* @var string $comments
|
|
|
+ *
|
|
|
* @ORM\Column(name="comments", type="text", nullable=true)
|
|
|
*/
|
|
|
private $comments;
|
|
|
|
|
|
-// /**
|
|
|
-// * @ ORM\OneToOne(targetEntity="\Flowdat2\FtthBundle\Entity\ONU", fetch="EXTRA_LAZY")
|
|
|
-// * @ ORM\JoinColumn(onDelete="CASCADE")
|
|
|
-// */
|
|
|
-// protected $onu;
|
|
|
-
|
|
|
|
|
|
/**
|
|
|
* @return string
|
|
@@ -92,11 +86,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param int $id
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setId($id)
|
|
|
{
|
|
|
$this->id = $id;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
@@ -110,11 +106,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param mixed $profile
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setProfile($profile)
|
|
|
{
|
|
|
$this->profile = $profile;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
@@ -128,11 +126,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param int $clientId
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setClientId(int $clientId)
|
|
|
{
|
|
|
$this->clientId = $clientId;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
@@ -146,11 +146,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param mixed $name
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setName($name)
|
|
|
{
|
|
|
$this->name = $name;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
@@ -164,11 +166,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param mixed $password
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setPassword($password)
|
|
|
{
|
|
|
$this->password = $password;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
@@ -182,11 +186,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param mixed $static_ip
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setStaticIp($static_ip)
|
|
|
{
|
|
|
$this->static_ip = $static_ip;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
@@ -200,11 +206,13 @@ class Access implements TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
/**
|
|
|
* @param string $comments
|
|
|
+ *
|
|
|
* @return mixed Retorna el objeto.
|
|
|
*/
|
|
|
public function setComments($comments)
|
|
|
{
|
|
|
$this->comments = $comments;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|