You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
151 lines
2.4 KiB
151 lines
2.4 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class UserRelUser extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\UserRelUserRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\UserRelUserRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\UserRelUser
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var bigint $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var integer $friend_user_id
|
|
*/
|
|
protected $friend_user_id;
|
|
|
|
/**
|
|
* @var integer $relation_type
|
|
*/
|
|
protected $relation_type;
|
|
|
|
/**
|
|
* @var datetime $last_edit
|
|
*/
|
|
protected $last_edit;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return bigint
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelUser
|
|
*/
|
|
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 friend_user_id
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelUser
|
|
*/
|
|
public function set_friend_user_id($value)
|
|
{
|
|
$this->friend_user_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get friend_user_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_friend_user_id()
|
|
{
|
|
return $this->friend_user_id;
|
|
}
|
|
|
|
/**
|
|
* Set relation_type
|
|
*
|
|
* @param integer $value
|
|
* @return UserRelUser
|
|
*/
|
|
public function set_relation_type($value)
|
|
{
|
|
$this->relation_type = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get relation_type
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_relation_type()
|
|
{
|
|
return $this->relation_type;
|
|
}
|
|
|
|
/**
|
|
* Set last_edit
|
|
*
|
|
* @param datetime $value
|
|
* @return UserRelUser
|
|
*/
|
|
public function set_last_edit($value)
|
|
{
|
|
$this->last_edit = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get last_edit
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_last_edit()
|
|
{
|
|
return $this->last_edit;
|
|
}
|
|
} |