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.
352 lines
5.5 KiB
352 lines
5.5 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class DropboxFile extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\DropboxFileRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\DropboxFileRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\DropboxFile
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $uploader_id
|
|
*/
|
|
protected $uploader_id;
|
|
|
|
/**
|
|
* @var string $filename
|
|
*/
|
|
protected $filename;
|
|
|
|
/**
|
|
* @var integer $filesize
|
|
*/
|
|
protected $filesize;
|
|
|
|
/**
|
|
* @var string $title
|
|
*/
|
|
protected $title;
|
|
|
|
/**
|
|
* @var string $description
|
|
*/
|
|
protected $description;
|
|
|
|
/**
|
|
* @var string $author
|
|
*/
|
|
protected $author;
|
|
|
|
/**
|
|
* @var datetime $upload_date
|
|
*/
|
|
protected $upload_date;
|
|
|
|
/**
|
|
* @var datetime $last_upload_date
|
|
*/
|
|
protected $last_upload_date;
|
|
|
|
/**
|
|
* @var integer $cat_id
|
|
*/
|
|
protected $cat_id;
|
|
|
|
/**
|
|
* @var integer $session_id
|
|
*/
|
|
protected $session_id;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return DropboxFile
|
|
*/
|
|
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 DropboxFile
|
|
*/
|
|
public function set_id($value)
|
|
{
|
|
$this->id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set uploader_id
|
|
*
|
|
* @param integer $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_uploader_id($value)
|
|
{
|
|
$this->uploader_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get uploader_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_uploader_id()
|
|
{
|
|
return $this->uploader_id;
|
|
}
|
|
|
|
/**
|
|
* Set filename
|
|
*
|
|
* @param string $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_filename($value)
|
|
{
|
|
$this->filename = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get filename
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_filename()
|
|
{
|
|
return $this->filename;
|
|
}
|
|
|
|
/**
|
|
* Set filesize
|
|
*
|
|
* @param integer $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_filesize($value)
|
|
{
|
|
$this->filesize = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get filesize
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_filesize()
|
|
{
|
|
return $this->filesize;
|
|
}
|
|
|
|
/**
|
|
* Set title
|
|
*
|
|
* @param string $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_title($value)
|
|
{
|
|
$this->title = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get title
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_title()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
/**
|
|
* Set description
|
|
*
|
|
* @param string $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_description($value)
|
|
{
|
|
$this->description = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get description
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_description()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
/**
|
|
* Set author
|
|
*
|
|
* @param string $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_author($value)
|
|
{
|
|
$this->author = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get author
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_author()
|
|
{
|
|
return $this->author;
|
|
}
|
|
|
|
/**
|
|
* Set upload_date
|
|
*
|
|
* @param datetime $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_upload_date($value)
|
|
{
|
|
$this->upload_date = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get upload_date
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_upload_date()
|
|
{
|
|
return $this->upload_date;
|
|
}
|
|
|
|
/**
|
|
* Set last_upload_date
|
|
*
|
|
* @param datetime $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_last_upload_date($value)
|
|
{
|
|
$this->last_upload_date = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get last_upload_date
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_last_upload_date()
|
|
{
|
|
return $this->last_upload_date;
|
|
}
|
|
|
|
/**
|
|
* Set cat_id
|
|
*
|
|
* @param integer $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_cat_id($value)
|
|
{
|
|
$this->cat_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cat_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_cat_id()
|
|
{
|
|
return $this->cat_id;
|
|
}
|
|
|
|
/**
|
|
* Set session_id
|
|
*
|
|
* @param integer $value
|
|
* @return DropboxFile
|
|
*/
|
|
public function set_session_id($value)
|
|
{
|
|
$this->session_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get session_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_session_id()
|
|
{
|
|
return $this->session_id;
|
|
}
|
|
} |