mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-07 15:18:48 +01:00
restore TagsEntries
This commit is contained in:
parent
653e8be4c1
commit
970c40bb93
93
src/Wallabag/CoreBundle/Entity/TagsEntries.php
Normal file
93
src/Wallabag/CoreBundle/Entity/TagsEntries.php
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TagsEntries
|
||||||
|
*
|
||||||
|
* @ORM\Table(name="tags_entries")
|
||||||
|
* @ORM\Entity
|
||||||
|
*/
|
||||||
|
class TagsEntries
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
||||||
|
* @ORM\Id
|
||||||
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||||||
|
*/
|
||||||
|
private $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="entry_id", type="integer", nullable=true)
|
||||||
|
*/
|
||||||
|
private $entryId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="tag_id", type="integer", nullable=true)
|
||||||
|
*/
|
||||||
|
private $tagId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get id
|
||||||
|
*
|
||||||
|
* @return integer
|
||||||
|
*/
|
||||||
|
public function getId()
|
||||||
|
{
|
||||||
|
return $this->id;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set entryId
|
||||||
|
*
|
||||||
|
* @param integer $entryId
|
||||||
|
* @return TagsEntries
|
||||||
|
*/
|
||||||
|
public function setEntryId($entryId)
|
||||||
|
{
|
||||||
|
$this->entryId = $entryId;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get entryId
|
||||||
|
*
|
||||||
|
* @return integer
|
||||||
|
*/
|
||||||
|
public function getEntryId()
|
||||||
|
{
|
||||||
|
return $this->entryId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set tagId
|
||||||
|
*
|
||||||
|
* @param integer $tagId
|
||||||
|
* @return TagsEntries
|
||||||
|
*/
|
||||||
|
public function setTagId($tagId)
|
||||||
|
{
|
||||||
|
$this->tagId = $tagId;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get tagId
|
||||||
|
*
|
||||||
|
* @return integer
|
||||||
|
*/
|
||||||
|
public function getTagId()
|
||||||
|
{
|
||||||
|
return $this->tagId;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user