123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class Templates extends \Entity
- {
- /**
- * @return \Entity\Repository\TemplatesRepository
- */
- public static function repository(){
- return \Entity\Repository\TemplatesRepository::instance();
- }
- /**
- * @return \Entity\Templates
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $id
- */
- protected $id;
- /**
- * @var string $title
- */
- protected $title;
- /**
- * @var string $description
- */
- protected $description;
- /**
- * @var string $course_code
- */
- protected $course_code;
- /**
- * @var integer $user_id
- */
- protected $user_id;
- /**
- * @var integer $ref_doc
- */
- protected $ref_doc;
- /**
- * @var string $image
- */
- protected $image;
- /**
- * Get id
- *
- * @return integer
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set title
- *
- * @param string $value
- * @return Templates
- */
- 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 Templates
- */
- public function set_description($value)
- {
- $this->description = $value;
- return $this;
- }
- /**
- * Get description
- *
- * @return string
- */
- public function get_description()
- {
- return $this->description;
- }
- /**
- * Set course_code
- *
- * @param string $value
- * @return Templates
- */
- public function set_course_code($value)
- {
- $this->course_code = $value;
- return $this;
- }
- /**
- * Get course_code
- *
- * @return string
- */
- public function get_course_code()
- {
- return $this->course_code;
- }
- /**
- * Set user_id
- *
- * @param integer $value
- * @return Templates
- */
- public function set_user_id($value)
- {
- $this->user_id = $value;
- return $this;
- }
- /**
- * Get user_id
- *
- * @return integer
- */
- public function get_user_id()
- {
- return $this->user_id;
- }
- /**
- * Set ref_doc
- *
- * @param integer $value
- * @return Templates
- */
- public function set_ref_doc($value)
- {
- $this->ref_doc = $value;
- return $this;
- }
- /**
- * Get ref_doc
- *
- * @return integer
- */
- public function get_ref_doc()
- {
- return $this->ref_doc;
- }
- /**
- * Set image
- *
- * @param string $value
- * @return Templates
- */
- public function set_image($value)
- {
- $this->image = $value;
- return $this;
- }
- /**
- * Get image
- *
- * @return string
- */
- public function get_image()
- {
- return $this->image;
- }
- }
|