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

203 lines
3.5 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityCChatConnected
*
* @Table(name="c_chat_connected")
* @Entity
*/
class EntityCChatConnected
{
/**
* @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)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $userId;
/**
* @var \DateTime
*
* @Column(name="last_connection", type="datetime", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $lastConnection;
/**
* @var integer
*
* @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $sessionId;
/**
* @var integer
*
* @Column(name="to_group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $toGroupId;
/**
* Set cId
*
* @param integer $cId
* @return EntityCChatConnected
*/
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 EntityCChatConnected
*/
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 EntityCChatConnected
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId
*
* @return integer
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set lastConnection
*
* @param \DateTime $lastConnection
* @return EntityCChatConnected
*/
public function setLastConnection($lastConnection)
{
$this->lastConnection = $lastConnection;
return $this;
}
/**
* Get lastConnection
*
* @return \DateTime
*/
public function getLastConnection()
{
return $this->lastConnection;
}
/**
* Set sessionId
*
* @param integer $sessionId
* @return EntityCChatConnected
*/
public function setSessionId($sessionId)
{
$this->sessionId = $sessionId;
return $this;
}
/**
* Get sessionId
*
* @return integer
*/
public function getSessionId()
{
return $this->sessionId;
}
/**
* Set toGroupId
*
* @param integer $toGroupId
* @return EntityCChatConnected
*/
public function setToGroupId($toGroupId)
{
$this->toGroupId = $toGroupId;
return $this;
}
/**
* Get toGroupId
*
* @return integer
*/
public function getToGroupId()
{
return $this->toGroupId;
}
}