<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 *
 * @license see /license.txt
 * @author autogenerated
 */
class UserRelTag extends \Entity
{
    /**
     * @return \Entity\Repository\UserRelTagRepository
     */
     public static function repository(){
        return \Entity\Repository\UserRelTagRepository::instance();
    }

    /**
     * @return \Entity\UserRelTag
     */
     public static function create(){
        return new self();
    }

    /**
     * @var integer $id
     */
    protected $id;

    /**
     * @var integer $user_id
     */
    protected $user_id;

    /**
     * @var integer $tag_id
     */
    protected $tag_id;


    /**
     * Get id
     *
     * @return integer 
     */
    public function get_id()
    {
        return $this->id;
    }

    /**
     * Set user_id
     *
     * @param integer $value
     * @return UserRelTag
     */
    public function set_user_id($value)
    {
        $this->user_id = $value;
        return $this;
    }

    /**
     * Get user_id
     *
     * @return integer 
     */
    public function get_user_id()
    {
        return $this->user_id;
    }

    /**
     * Set tag_id
     *
     * @param integer $value
     * @return UserRelTag
     */
    public function set_tag_id($value)
    {
        $this->tag_id = $value;
        return $this;
    }

    /**
     * Get tag_id
     *
     * @return integer 
     */
    public function get_tag_id()
    {
        return $this->tag_id;
    }
}