74 lines
1.1 KiB
PHP
74 lines
1.1 KiB
PHP
<?php
|
|
|
|
|
|
namespace WapplerSystems\BookmarksLikesRatings\Domain\Model;
|
|
|
|
|
|
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class Like extends AbstractEntity
|
|
{
|
|
|
|
/** @var int */
|
|
protected $user;
|
|
|
|
/** @var string */
|
|
protected $tablename;
|
|
|
|
/** @var int */
|
|
protected $objectUid;
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getUser(): int
|
|
{
|
|
return $this->user;
|
|
}
|
|
|
|
/**
|
|
* @param int $user
|
|
*/
|
|
public function setUser(int $user): void
|
|
{
|
|
$this->user = $user;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getTablename(): string
|
|
{
|
|
return $this->tablename;
|
|
}
|
|
|
|
/**
|
|
* @param string $tablename
|
|
*/
|
|
public function setTablename(string $tablename): void
|
|
{
|
|
$this->tablename = $tablename;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getObjectUid(): int
|
|
{
|
|
return $this->objectUid;
|
|
}
|
|
|
|
/**
|
|
* @param int $objectUid
|
|
*/
|
|
public function setObjectUid(int $objectUid): void
|
|
{
|
|
$this->objectUid = $objectUid;
|
|
}
|
|
|
|
|
|
}
|