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/src/Chamilo/CourseBundle/Entity/CBlogPost.php

233 lines
3.6 KiB

<?php
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CBlogPost
*
* @ORM\Table(name="c_blog_post")
* @ORM\Entity
*/
class CBlogPost
{
/**
* @var integer
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
private $iid;
/**
* @var integer
*
* @ORM\Column(name="blog_id", type="integer", nullable=false)
*/
private $blogId;
/**
* @var integer
*
* @ORM\Column(name="c_id", type="integer")
*/
private $cId;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=250, nullable=false)
*/
private $title;
/**
* @var string
*
* @ORM\Column(name="full_text", type="text", nullable=false)
*/
private $fullText;
/**
* @var \DateTime
*
* @ORM\Column(name="date_creation", type="datetime", nullable=false)
*/
private $dateCreation;
/**
* @var integer
*
* @ORM\Column(name="author_id", type="integer", nullable=false)
*/
private $authorId;
/**
* @var integer
*
* @ORM\Column(name="post_id", type="integer")
*/
private $postId;
/**
* Set title
*
* @param string $title
* @return CBlogPost
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set fullText
*
* @param string $fullText
* @return CBlogPost
*/
public function setFullText($fullText)
{
$this->fullText = $fullText;
return $this;
}
/**
* Get fullText
*
* @return string
*/
public function getFullText()
{
return $this->fullText;
}
/**
* Set dateCreation
*
* @param \DateTime $dateCreation
* @return CBlogPost
*/
public function setDateCreation($dateCreation)
{
$this->dateCreation = $dateCreation;
return $this;
}
/**
* Get dateCreation
*
* @return \DateTime
*/
public function getDateCreation()
{
return $this->dateCreation;
}
/**
* Set blogId
*
* @param integer $blogId
* @return CBlogPost
*/
public function setBlogId($blogId)
{
$this->blogId = $blogId;
return $this;
}
/**
* Get blogId
*
* @return integer
*/
public function getBlogId()
{
return $this->blogId;
}
/**
* Set authorId
*
* @param integer $authorId
* @return CBlogPost
*/
public function setAuthorId($authorId)
{
$this->authorId = $authorId;
return $this;
}
/**
* Get authorId
*
* @return integer
*/
public function getAuthorId()
{
return $this->authorId;
}
/**
* Set postId
*
* @param integer $postId
* @return CBlogPost
*/
public function setPostId($postId)
{
$this->postId = $postId;
return $this;
}
/**
* Get postId
*
* @return integer
*/
public function getPostId()
{
return $this->postId;
}
/**
* Set cId
*
* @param integer $cId
* @return CBlogPost
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
}