for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CStudentPublicationRelUser.
*
* @ORM\Table(
* name="c_student_publication_rel_user",
* indexes={
* @ORM\Index(name="course", columns={"c_id"}),
* @ORM\Index(name="work", columns={"work_id"}),
* @ORM\Index(name="user", columns={"user_id"})
* }
* )
* @ORM\Entity
*/
class CStudentPublicationRelUser
{
* @var int
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
protected $iid;
* @ORM\Column(name="c_id", type="integer")
protected $cId;
* @ORM\Column(name="work_id", type="integer", nullable=false)
protected $workId;
* @ORM\Column(name="user_id", type="integer", nullable=false)
protected $userId;
* Set workId.
* @param int $workId
* @return CStudentPublicationRelUser
public function setWorkId($workId)
$this->workId = $workId;
return $this;
}
* Get workId.
* @return int
public function getWorkId()
return $this->workId;
* Set userId.
* @param int $userId
public function setUserId($userId)
$this->userId = $userId;
* Get userId.
public function getUserId()
return $this->userId;
* Set cId.
* @param int $cId
public function setCId($cId)
$this->cId = $cId;
* Get cId.
public function getCId()
return $this->cId;