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.4 KiB
217 lines
3.4 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class AnnouncementAttachment extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\AnnouncementAttachmentRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\AnnouncementAttachmentRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\AnnouncementAttachment
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var string $path
|
|
*/
|
|
protected $path;
|
|
|
|
/**
|
|
* @var text $comment
|
|
*/
|
|
protected $comment;
|
|
|
|
/**
|
|
* @var integer $size
|
|
*/
|
|
protected $size;
|
|
|
|
/**
|
|
* @var integer $announcement_id
|
|
*/
|
|
protected $announcement_id;
|
|
|
|
/**
|
|
* @var string $filename
|
|
*/
|
|
protected $filename;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return AnnouncementAttachment
|
|
*/
|
|
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 AnnouncementAttachment
|
|
*/
|
|
public function set_id($value)
|
|
{
|
|
$this->id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set path
|
|
*
|
|
* @param string $value
|
|
* @return AnnouncementAttachment
|
|
*/
|
|
public function set_path($value)
|
|
{
|
|
$this->path = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get path
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_path()
|
|
{
|
|
return $this->path;
|
|
}
|
|
|
|
/**
|
|
* Set comment
|
|
*
|
|
* @param text $value
|
|
* @return AnnouncementAttachment
|
|
*/
|
|
public function set_comment($value)
|
|
{
|
|
$this->comment = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get comment
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_comment()
|
|
{
|
|
return $this->comment;
|
|
}
|
|
|
|
/**
|
|
* Set size
|
|
*
|
|
* @param integer $value
|
|
* @return AnnouncementAttachment
|
|
*/
|
|
public function set_size($value)
|
|
{
|
|
$this->size = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get size
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_size()
|
|
{
|
|
return $this->size;
|
|
}
|
|
|
|
/**
|
|
* Set announcement_id
|
|
*
|
|
* @param integer $value
|
|
* @return AnnouncementAttachment
|
|
*/
|
|
public function set_announcement_id($value)
|
|
{
|
|
$this->announcement_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get announcement_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_announcement_id()
|
|
{
|
|
return $this->announcement_id;
|
|
}
|
|
|
|
/**
|
|
* Set filename
|
|
*
|
|
* @param string $value
|
|
* @return AnnouncementAttachment
|
|
*/
|
|
public function set_filename($value)
|
|
{
|
|
$this->filename = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get filename
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_filename()
|
|
{
|
|
return $this->filename;
|
|
}
|
|
} |