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.
205 lines
3.0 KiB
205 lines
3.0 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class CourseModule extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\CourseModuleRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\CourseModuleRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\CourseModule
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var string $name
|
|
*/
|
|
protected $name;
|
|
|
|
/**
|
|
* @var string $link
|
|
*/
|
|
protected $link;
|
|
|
|
/**
|
|
* @var string $image
|
|
*/
|
|
protected $image;
|
|
|
|
/**
|
|
* @var integer $row
|
|
*/
|
|
protected $row;
|
|
|
|
/**
|
|
* @var integer $column
|
|
*/
|
|
protected $column;
|
|
|
|
/**
|
|
* @var string $position
|
|
*/
|
|
protected $position;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set name
|
|
*
|
|
* @param string $value
|
|
* @return CourseModule
|
|
*/
|
|
public function set_name($value)
|
|
{
|
|
$this->name = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_name()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Set link
|
|
*
|
|
* @param string $value
|
|
* @return CourseModule
|
|
*/
|
|
public function set_link($value)
|
|
{
|
|
$this->link = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get link
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_link()
|
|
{
|
|
return $this->link;
|
|
}
|
|
|
|
/**
|
|
* Set image
|
|
*
|
|
* @param string $value
|
|
* @return CourseModule
|
|
*/
|
|
public function set_image($value)
|
|
{
|
|
$this->image = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get image
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_image()
|
|
{
|
|
return $this->image;
|
|
}
|
|
|
|
/**
|
|
* Set row
|
|
*
|
|
* @param integer $value
|
|
* @return CourseModule
|
|
*/
|
|
public function set_row($value)
|
|
{
|
|
$this->row = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get row
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_row()
|
|
{
|
|
return $this->row;
|
|
}
|
|
|
|
/**
|
|
* Set column
|
|
*
|
|
* @param integer $value
|
|
* @return CourseModule
|
|
*/
|
|
public function set_column($value)
|
|
{
|
|
$this->column = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get column
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_column()
|
|
{
|
|
return $this->column;
|
|
}
|
|
|
|
/**
|
|
* Set position
|
|
*
|
|
* @param string $value
|
|
* @return CourseModule
|
|
*/
|
|
public function set_position($value)
|
|
{
|
|
$this->position = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get position
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_position()
|
|
{
|
|
return $this->position;
|
|
}
|
|
} |