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.
217 lines
3.3 KiB
217 lines
3.3 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class WikiDiscuss extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\WikiDiscussRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\WikiDiscussRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\WikiDiscuss
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $publication_id
|
|
*/
|
|
protected $publication_id;
|
|
|
|
/**
|
|
* @var integer $userc_id
|
|
*/
|
|
protected $userc_id;
|
|
|
|
/**
|
|
* @var text $comment
|
|
*/
|
|
protected $comment;
|
|
|
|
/**
|
|
* @var string $p_score
|
|
*/
|
|
protected $p_score;
|
|
|
|
/**
|
|
* @var datetime $dtime
|
|
*/
|
|
protected $dtime;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_c_id($value)
|
|
{
|
|
$this->c_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get c_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_c_id()
|
|
{
|
|
return $this->c_id;
|
|
}
|
|
|
|
/**
|
|
* Set id
|
|
*
|
|
* @param integer $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_id($value)
|
|
{
|
|
$this->id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set publication_id
|
|
*
|
|
* @param integer $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_publication_id($value)
|
|
{
|
|
$this->publication_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get publication_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_publication_id()
|
|
{
|
|
return $this->publication_id;
|
|
}
|
|
|
|
/**
|
|
* Set userc_id
|
|
*
|
|
* @param integer $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_userc_id($value)
|
|
{
|
|
$this->userc_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get userc_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_userc_id()
|
|
{
|
|
return $this->userc_id;
|
|
}
|
|
|
|
/**
|
|
* Set comment
|
|
*
|
|
* @param text $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_comment($value)
|
|
{
|
|
$this->comment = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get comment
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_comment()
|
|
{
|
|
return $this->comment;
|
|
}
|
|
|
|
/**
|
|
* Set p_score
|
|
*
|
|
* @param string $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_p_score($value)
|
|
{
|
|
$this->p_score = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get p_score
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_p_score()
|
|
{
|
|
return $this->p_score;
|
|
}
|
|
|
|
/**
|
|
* Set dtime
|
|
*
|
|
* @param datetime $value
|
|
* @return WikiDiscuss
|
|
*/
|
|
public function set_dtime($value)
|
|
{
|
|
$this->dtime = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get dtime
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_dtime()
|
|
{
|
|
return $this->dtime;
|
|
}
|
|
} |