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/src/CourseBundle/Entity/CPermissionUser.php

184 lines
2.7 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CPermissionUser.
*
* @ORM\Table(
* name="c_permission_user",
* indexes={
* @ORM\Index(name="course", columns={"c_id"})
* }
* )
* @ORM\Entity
*/
class CPermissionUser
{
/**
* @var int
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $iid;
/**
* @var int
*
* @ORM\Column(name="c_id", type="integer")
*/
protected $cId;
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=true)
*/
protected $id;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
protected $userId;
/**
* @var string
*
* @ORM\Column(name="tool", type="string", length=250, nullable=false)
*/
protected $tool;
/**
* @var string
*
* @ORM\Column(name="action", type="string", length=250, nullable=false)
*/
protected $action;
/**
* Set userId.
*
* @param int $userId
*
* @return CPermissionUser
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId.
*
* @return int
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set tool.
*
* @param string $tool
*
* @return CPermissionUser
*/
public function setTool($tool)
{
$this->tool = $tool;
return $this;
}
/**
* Get tool.
*
* @return string
*/
public function getTool()
{
return $this->tool;
}
/**
* Set action.
*
* @param string $action
*
* @return CPermissionUser
*/
public function setAction($action)
{
$this->action = $action;
return $this;
}
/**
* Get action.
*
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* Set id.
*
* @param int $id
*
* @return CPermissionUser
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set cId.
*
* @param int $cId
*
* @return CPermissionUser
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
}