Remove unused entities

pull/3768/head
Julio Montoya 5 years ago
parent c0d27f3228
commit 3b6842a60b
  1. 249
      src/CourseBundle/Entity/CUserinfoContent.php
  2. 218
      src/CourseBundle/Entity/CUserinfoDef.php

@ -1,249 +0,0 @@
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CUserinfoContent.
*
* @deprecated ?
* @ORM\Table(
* name="c_userinfo_content",
* indexes={
* @ORM\Index(name="course", columns={"c_id"}),
* @ORM\Index(name="user_id", columns={"user_id"})
* }
* )
* @ORM\Entity
*/
class CUserinfoContent
{
/**
* @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 int
*
* @ORM\Column(name="definition_id", type="integer", nullable=false)
*/
protected $definitionId;
/**
* @var string
*
* @ORM\Column(name="editor_ip", type="string", length=39, nullable=true)
*/
protected $editorIp;
/**
* @var \DateTime
*
* @ORM\Column(name="edition_time", type="datetime", nullable=true)
*/
protected $editionTime;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=false)
*/
protected $content;
/**
* Set userId.
*
* @param int $userId
*
* @return CUserinfoContent
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId.
*
* @return int
*/
public function getUserId()
{
return $this->userId;
}
/**
* Set definitionId.
*
* @param int $definitionId
*
* @return CUserinfoContent
*/
public function setDefinitionId($definitionId)
{
$this->definitionId = $definitionId;
return $this;
}
/**
* Get definitionId.
*
* @return int
*/
public function getDefinitionId()
{
return $this->definitionId;
}
/**
* Set editorIp.
*
* @param string $editorIp
*
* @return CUserinfoContent
*/
public function setEditorIp($editorIp)
{
$this->editorIp = $editorIp;
return $this;
}
/**
* Get editorIp.
*
* @return string
*/
public function getEditorIp()
{
return $this->editorIp;
}
/**
* Set editionTime.
*
* @param \DateTime $editionTime
*
* @return CUserinfoContent
*/
public function setEditionTime($editionTime)
{
$this->editionTime = $editionTime;
return $this;
}
/**
* Get editionTime.
*
* @return \DateTime
*/
public function getEditionTime()
{
return $this->editionTime;
}
/**
* Set content.
*
* @param string $content
*
* @return CUserinfoContent
*/
public function setContent($content)
{
$this->content = $content;
return $this;
}
/**
* Get content.
*
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* Set id.
*
* @param int $id
*
* @return CUserinfoContent
*/
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 CUserinfoContent
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
}

@ -1,218 +0,0 @@
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CUserinfoDef.
*
* @deprecated ?
*
* @ORM\Table(
* name="c_userinfo_def",
* indexes={
* @ORM\Index(name="course", columns={"c_id"})
* }
* )
* @ORM\Entity
*/
class CUserinfoDef
{
/**
* @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 string
*
* @ORM\Column(name="title", type="string", length=80, nullable=false)
*/
protected $title;
/**
* @var string
*
* @ORM\Column(name="comment", type="text", nullable=true)
*/
protected $comment;
/**
* @var bool
*
* @ORM\Column(name="line_count", type="boolean", nullable=false)
*/
protected $lineCount;
/**
* @var bool
*
* @ORM\Column(name="`rank`", type="boolean", nullable=false)
*/
protected $rank;
/**
* Set title.
*
* @param string $title
*
* @return CUserinfoDef
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title.
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set comment.
*
* @param string $comment
*
* @return CUserinfoDef
*/
public function setComment($comment)
{
$this->comment = $comment;
return $this;
}
/**
* Get comment.
*
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* Set lineCount.
*
* @param bool $lineCount
*
* @return CUserinfoDef
*/
public function setLineCount($lineCount)
{
$this->lineCount = $lineCount;
return $this;
}
/**
* Get lineCount.
*
* @return bool
*/
public function getLineCount()
{
return $this->lineCount;
}
/**
* Set rank.
*
* @param bool $rank
*
* @return CUserinfoDef
*/
public function setRank($rank)
{
$this->rank = $rank;
return $this;
}
/**
* Get rank.
*
* @return bool
*/
public function getRank()
{
return $this->rank;
}
/**
* Set id.
*
* @param int $id
*
* @return CUserinfoDef
*/
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 CUserinfoDef
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
}
Loading…
Cancel
Save