Zwischenstand
This commit is contained in:
73
Classes/Domain/Model/Like.php
Normal file
73
Classes/Domain/Model/Like.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user