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; } }