Commit initial
This commit is contained in:
64
server/webplatform/apps/CameraMonitor/Model/Entity/User.php
Normal file
64
server/webplatform/apps/CameraMonitor/Model/Entity/User.php
Normal file
@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
class User {
|
||||
|
||||
private $id;
|
||||
private $login;
|
||||
private $password;
|
||||
|
||||
public function __construct($id, $login, $password) {
|
||||
$this->id = $id;
|
||||
$this->login = $login;
|
||||
$this->password = $password;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getLogin()
|
||||
{
|
||||
return $this->login;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $login
|
||||
*/
|
||||
public function setLogin($login)
|
||||
{
|
||||
$this->login = $login;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getPassword()
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $password
|
||||
*/
|
||||
public function setPassword($password)
|
||||
{
|
||||
$this->password = $password;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $id
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user