123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?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;
- }
- }
|