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.
246 lines
3.7 KiB
246 lines
3.7 KiB
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CourseBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* CBlogTask.
|
|
*
|
|
* @ORM\Table(
|
|
* name="c_blog_task",
|
|
* indexes={
|
|
* @ORM\Index(name="course", columns={"c_id"})
|
|
* }
|
|
* )
|
|
* @ORM\Entity
|
|
*/
|
|
class CBlogTask
|
|
{
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="iid", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
*/
|
|
protected $iid;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="task_id", type="integer")
|
|
*/
|
|
protected $taskId;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="c_id", type="integer")
|
|
*/
|
|
protected $cId;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="blog_id", type="integer", nullable=false)
|
|
*/
|
|
protected $blogId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="title", type="string", length=250, nullable=false)
|
|
*/
|
|
protected $title;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="description", type="text", nullable=false)
|
|
*/
|
|
protected $description;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="color", type="string", length=10, nullable=false)
|
|
*/
|
|
protected $color;
|
|
|
|
/**
|
|
* @var bool
|
|
*
|
|
* @ORM\Column(name="system_task", type="boolean", nullable=false)
|
|
*/
|
|
protected $systemTask;
|
|
|
|
/**
|
|
* Set blogId.
|
|
*
|
|
* @param int $blogId
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setBlogId($blogId)
|
|
{
|
|
$this->blogId = $blogId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get blogId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getBlogId()
|
|
{
|
|
return $this->blogId;
|
|
}
|
|
|
|
/**
|
|
* Set title.
|
|
*
|
|
* @param string $title
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setTitle($title)
|
|
{
|
|
$this->title = $title;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get title.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTitle()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
/**
|
|
* Set description.
|
|
*
|
|
* @param string $description
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get description.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
/**
|
|
* Set color.
|
|
*
|
|
* @param string $color
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setColor($color)
|
|
{
|
|
$this->color = $color;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get color.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getColor()
|
|
{
|
|
return $this->color;
|
|
}
|
|
|
|
/**
|
|
* Set systemTask.
|
|
*
|
|
* @param bool $systemTask
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setSystemTask($systemTask)
|
|
{
|
|
$this->systemTask = $systemTask;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get systemTask.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function getSystemTask()
|
|
{
|
|
return $this->systemTask;
|
|
}
|
|
|
|
/**
|
|
* Set taskId.
|
|
*
|
|
* @param int $taskId
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setTaskId($taskId)
|
|
{
|
|
$this->taskId = $taskId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get taskId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getTaskId()
|
|
{
|
|
return $this->taskId;
|
|
}
|
|
|
|
/**
|
|
* Set cId.
|
|
*
|
|
* @param int $cId
|
|
*
|
|
* @return CBlogTask
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
}
|
|
|