|
|
|
@ -27,17 +27,97 @@
|
|
|
|
|
$this->email = $email;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getId(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param string $id
|
|
|
|
|
*/
|
|
|
|
|
public function setId(string $id): void
|
|
|
|
|
{
|
|
|
|
|
$this->id = $id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getUsername(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->username;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param string $username
|
|
|
|
|
*/
|
|
|
|
|
public function setUsername(string $username): void
|
|
|
|
|
{
|
|
|
|
|
$this->username = $username;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getImg(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->img;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param string $img
|
|
|
|
|
*/
|
|
|
|
|
public function setImg(string $img): void
|
|
|
|
|
{
|
|
|
|
|
$this->img = $img;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getEmail(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->email;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param string $email
|
|
|
|
|
*/
|
|
|
|
|
public function setEmail(string $email): void
|
|
|
|
|
{
|
|
|
|
|
$this->email = $email;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getPasswd(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->passwd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getHidenPasswd(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->hidenPasswd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function setPasswd(string $passwd){
|
|
|
|
|
/**
|
|
|
|
|
* @param string $passwd
|
|
|
|
|
*/
|
|
|
|
|
public function setPasswd(string $passwd): void
|
|
|
|
|
{
|
|
|
|
|
$this->passwd = $passwd;
|
|
|
|
|
$this->hidenPassWd = hidenPassWd($passwd);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|