Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/inc/Entity/EntityGroupRelUser.php

124 lines
2.1 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityGroupRelUser
*
* @Table(name="group_rel_user")
* @Entity
*/
class EntityGroupRelUser
{
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var integer
*
* @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $groupId;
/**
* @var integer
*
* @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $userId;
/**
* @var integer
*
* @Column(name="relation_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $relationType;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set groupId
*
* @param integer $groupId
* @return EntityGroupRelUser
*/
public function setGroupId($groupId)
{
$this->groupId = $groupId;
return $this;
}
/**
* Get groupId
*
* @return integer
*/
public function getGroupId()
{
return $this->groupId;
}
/**
* Set userId
*
* @param integer $userId
* @return EntityGroupRelUser
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId
*
* @return integer
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set relationType
*
* @param integer $relationType
* @return EntityGroupRelUser
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
return $this;
}
/**
* Get relationType
*
* @return integer
*/
public function getRelationType()
{
return $this->relationType;
}
}