mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
108 lines
1.4 KiB
PHP
108 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace Entities;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
class FeedToken
|
|
{
|
|
/**
|
|
* @var integer
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @var integer
|
|
*/
|
|
private $usr_id;
|
|
|
|
/**
|
|
* @var \Entities\Feed
|
|
*/
|
|
private $feed;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set usr_id
|
|
*
|
|
* @param integer $usrId
|
|
* @return FeedToken
|
|
*/
|
|
public function setUsrId($usrId)
|
|
{
|
|
$this->usr_id = $usrId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get usr_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getUsrId()
|
|
{
|
|
return $this->usr_id;
|
|
}
|
|
|
|
/**
|
|
* Set feed
|
|
*
|
|
* @param \Entities\Feed $feed
|
|
* @return FeedToken
|
|
*/
|
|
public function setFeed(\Entities\Feed $feed = null)
|
|
{
|
|
$this->feed = $feed;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get feed
|
|
*
|
|
* @return \Entities\Feed
|
|
*/
|
|
public function getFeed()
|
|
{
|
|
return $this->feed;
|
|
}
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $value;
|
|
|
|
|
|
/**
|
|
* Set value
|
|
*
|
|
* @param string $value
|
|
* @return FeedToken
|
|
*/
|
|
public function setValue($value)
|
|
{
|
|
$this->value = $value;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get value
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getValue()
|
|
{
|
|
return $this->value;
|
|
}
|
|
} |