2014-09-28 15:21:25 +02:00
|
|
|
<?php
|
|
|
|
namespace Szurubooru\Entities;
|
|
|
|
|
2014-10-05 14:54:21 +02:00
|
|
|
class Score extends Entity
|
2014-09-28 15:21:25 +02:00
|
|
|
{
|
|
|
|
private $postId;
|
|
|
|
private $userId;
|
|
|
|
private $time;
|
|
|
|
private $score;
|
|
|
|
|
|
|
|
public function getUserId()
|
|
|
|
{
|
|
|
|
return $this->userId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setUserId($userId)
|
|
|
|
{
|
|
|
|
$this->userId = $userId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPostId()
|
|
|
|
{
|
|
|
|
return $this->postId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setPostId($postId)
|
|
|
|
{
|
|
|
|
$this->postId = $postId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTime()
|
|
|
|
{
|
|
|
|
return $this->time;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setTime($time)
|
|
|
|
{
|
|
|
|
$this->time = $time;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getScore()
|
|
|
|
{
|
|
|
|
return $this->score;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setScore($score)
|
|
|
|
{
|
|
|
|
$this->score = $score;
|
|
|
|
}
|
|
|
|
}
|