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/EntityCGroupRelUser.php

199 lines
3.2 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityCGroupRelUser
*
* @Table(name="c_group_rel_user")
* @Entity
*/
class EntityCGroupRelUser
{
/**
* @var integer
*
* @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $cId;
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $id;
/**
* @var integer
*
* @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $userId;
/**
* @var integer
*
* @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $groupId;
/**
* @var integer
*
* @Column(name="status", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $status;
/**
* @var string
*
* @Column(name="role", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
*/
private $role;
/**
* Set cId
*
* @param integer $cId
* @return EntityCGroupRelUser
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
/**
* Set id
*
* @param integer $id
* @return EntityCGroupRelUser
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set userId
*
* @param integer $userId
* @return EntityCGroupRelUser
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId
*
* @return integer
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set groupId
*
* @param integer $groupId
* @return EntityCGroupRelUser
*/
public function setGroupId($groupId)
{
$this->groupId = $groupId;
return $this;
}
/**
* Get groupId
*
* @return integer
*/
public function getGroupId()
{
return $this->groupId;
}
/**
* Set status
*
* @param integer $status
* @return EntityCGroupRelUser
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return integer
*/
public function getStatus()
{
return $this->status;
}
/**
* Set role
*
* @param string $role
* @return EntityCGroupRelUser
*/
public function setRole($role)
{
$this->role = $role;
return $this;
}
/**
* Get role
*
* @return string
*/
public function getRole()
{
return $this->role;
}
}