sessionId = $sessionId; return $this; } /** * Get sessionId. * * @return int */ public function getSessionId() { return $this->sessionId; } /** * Set toGroupId. * * @param int $toGroupId * * @return CChatConnected */ public function setToGroupId($toGroupId) { $this->toGroupId = $toGroupId; return $this; } /** * Get toGroupId. * * @return int */ public function getToGroupId() { return $this->toGroupId; } /** * Set id. * * @param int $id * * @return CChatConnected */ 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 CChatConnected */ public function setCId($cId) { $this->cId = $cId; return $this; } /** * Get cId. * * @return int */ public function getCId() { return $this->cId; } /** * Set userId. * * @param int $userId * * @return CChatConnected */ public function setUserId($userId) { $this->userId = $userId; return $this; } /** * Get userId. * * @return int */ public function getUserId() { return $this->userId; } /** * Set lastConnection. * * @param \DateTime $lastConnection * * @return CChatConnected */ public function setLastConnection($lastConnection) { $this->lastConnection = $lastConnection; return $this; } /** * Get lastConnection. * * @return \DateTime */ public function getLastConnection() { return $this->lastConnection; } }