123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityTag
- *
- * @Table(name="tag")
- * @Entity
- */
- class EntityTag
- {
- /**
- * @var integer
- *
- * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var string
- *
- * @Column(name="tag", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $tag;
- /**
- * @var integer
- *
- * @Column(name="field_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $fieldId;
- /**
- * @var integer
- *
- * @Column(name="count", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $count;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set tag
- *
- * @param string $tag
- * @return EntityTag
- */
- public function setTag($tag)
- {
- $this->tag = $tag;
- return $this;
- }
- /**
- * Get tag
- *
- * @return string
- */
- public function getTag()
- {
- return $this->tag;
- }
- /**
- * Set fieldId
- *
- * @param integer $fieldId
- * @return EntityTag
- */
- public function setFieldId($fieldId)
- {
- $this->fieldId = $fieldId;
- return $this;
- }
- /**
- * Get fieldId
- *
- * @return integer
- */
- public function getFieldId()
- {
- return $this->fieldId;
- }
- /**
- * Set count
- *
- * @param integer $count
- * @return EntityTag
- */
- public function setCount($count)
- {
- $this->count = $count;
- return $this;
- }
- /**
- * Get count
- *
- * @return integer
- */
- public function getCount()
- {
- return $this->count;
- }
- }
|