43 lines
749 B
PHP
43 lines
749 B
PHP
<?php
|
|
|
|
namespace lib\Entity\Mangboard;
|
|
|
|
class UserEntity extends BaseEntity
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
} //
|
|
|
|
public function __toString()
|
|
{
|
|
return "{$this->getName()}";
|
|
}
|
|
|
|
public function getUserID()
|
|
{
|
|
return $this->user_id;
|
|
}
|
|
public function getName()
|
|
{
|
|
return $this->user_name;
|
|
}
|
|
public function getPoint()
|
|
{
|
|
return $this->user_point;
|
|
}
|
|
public function setPoint(int $point)
|
|
{
|
|
return $this->user_point = $point;
|
|
}
|
|
|
|
public function getLevel()
|
|
{
|
|
return $this->user_level;
|
|
}
|
|
public function setLevel(int $level)
|
|
{
|
|
return $this->user_level = $level;
|
|
}
|
|
} //Class
|