<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

    /**
     * @var string $event_type_name
     */
    protected $event_type_name;


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

    /**
     * Set user_id
     *
     * @param integer $value
     * @return UserRelEventType
     */
    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 event_type_name
     *
     * @param string $value
     * @return UserRelEventType
     */
    public function set_event_type_name($value)
    {
        $this->event_type_name = $value;
        return $this;
    }

    /**
     * Get event_type_name
     *
     * @return string 
     */
    public function get_event_type_name()
    {
        return $this->event_type_name;
    }
}