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/CDropboxFile.php

383 lines
6.3 KiB

<?php
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CDropboxFile
*
* @ORM\Table(name="c_dropbox_file", uniqueConstraints={@ORM\UniqueConstraint(name="UN_filename", columns={"filename"})}, indexes={@ORM\Index(name="session_id", columns={"session_id"})})
* @ORM\Entity
*/
class CDropboxFile
{
/**
* @var integer
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
private $iid;
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
*/
private $id;
/**
* @var integer
*
* @ORM\Column(name="c_id", type="integer")
*/
private $cId;
/**
* @var integer
*
* @ORM\Column(name="uploader_id", type="integer", nullable=false)
*/
private $uploaderId;
/**
* @var string
*
* @ORM\Column(name="filename", type="string", length=250, nullable=false)
*/
private $filename;
/**
* @var integer
*
* @ORM\Column(name="filesize", type="integer", nullable=false)
*/
private $filesize;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=250, nullable=true)
*/
private $title;
/**
* @var string
*
* @ORM\Column(name="description", type="string", length=250, nullable=true)
*/
private $description;
/**
* @var string
*
* @ORM\Column(name="author", type="string", length=250, nullable=true)
*/
private $author;
/**
* @var \DateTime
*
* @ORM\Column(name="upload_date", type="datetime", nullable=false)
*/
private $uploadDate;
/**
* @var \DateTime
*
* @ORM\Column(name="last_upload_date", type="datetime", nullable=false)
*/
private $lastUploadDate;
/**
* @var integer
*
* @ORM\Column(name="cat_id", type="integer", nullable=false)
*/
private $catId;
/**
* @var integer
*
* @ORM\Column(name="session_id", type="integer", nullable=false)
*/
private $sessionId;
/**
* Set uploaderId
*
* @param integer $uploaderId
* @return CDropboxFile
*/
public function setUploaderId($uploaderId)
{
$this->uploaderId = $uploaderId;
return $this;
}
/**
* Get uploaderId
*
* @return integer
*/
public function getUploaderId()
{
return $this->uploaderId;
}
/**
* Set filename
*
* @param string $filename
* @return CDropboxFile
*/
public function setFilename($filename)
{
$this->filename = $filename;
return $this;
}
/**
* Get filename
*
* @return string
*/
public function getFilename()
{
return $this->filename;
}
/**
* Set filesize
*
* @param integer $filesize
* @return CDropboxFile
*/
public function setFilesize($filesize)
{
$this->filesize = $filesize;
return $this;
}
/**
* Get filesize
*
* @return integer
*/
public function getFilesize()
{
return $this->filesize;
}
/**
* Set title
*
* @param string $title
* @return CDropboxFile
*/
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 CDropboxFile
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set author
*
* @param string $author
* @return CDropboxFile
*/
public function setAuthor($author)
{
$this->author = $author;
return $this;
}
/**
* Get author
*
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* Set uploadDate
*
* @param \DateTime $uploadDate
* @return CDropboxFile
*/
public function setUploadDate($uploadDate)
{
$this->uploadDate = $uploadDate;
return $this;
}
/**
* Get uploadDate
*
* @return \DateTime
*/
public function getUploadDate()
{
return $this->uploadDate;
}
/**
* Set lastUploadDate
*
* @param \DateTime $lastUploadDate
* @return CDropboxFile
*/
public function setLastUploadDate($lastUploadDate)
{
$this->lastUploadDate = $lastUploadDate;
return $this;
}
/**
* Get lastUploadDate
*
* @return \DateTime
*/
public function getLastUploadDate()
{
return $this->lastUploadDate;
}
/**
* Set catId
*
* @param integer $catId
* @return CDropboxFile
*/
public function setCatId($catId)
{
$this->catId = $catId;
return $this;
}
/**
* Get catId
*
* @return integer
*/
public function getCatId()
{
return $this->catId;
}
/**
* Set sessionId
*
* @param integer $sessionId
* @return CDropboxFile
*/
public function setSessionId($sessionId)
{
$this->sessionId = $sessionId;
return $this;
}
/**
* Get sessionId
*
* @return integer
*/
public function getSessionId()
{
return $this->sessionId;
}
/**
* Set id
*
* @param integer $id
* @return CDropboxFile
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set cId
*
* @param integer $cId
* @return CDropboxFile
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
}