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.2 KiB
352 lines
5.2 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class Tool extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\ToolRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\ToolRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\Tool
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var string $name
|
|
*/
|
|
protected $name;
|
|
|
|
/**
|
|
* @var string $link
|
|
*/
|
|
protected $link;
|
|
|
|
/**
|
|
* @var string $image
|
|
*/
|
|
protected $image;
|
|
|
|
/**
|
|
* @var boolean $visibility
|
|
*/
|
|
protected $visibility;
|
|
|
|
/**
|
|
* @var string $admin
|
|
*/
|
|
protected $admin;
|
|
|
|
/**
|
|
* @var string $address
|
|
*/
|
|
protected $address;
|
|
|
|
/**
|
|
* @var boolean $added_tool
|
|
*/
|
|
protected $added_tool;
|
|
|
|
/**
|
|
* @var string $target
|
|
*/
|
|
protected $target;
|
|
|
|
/**
|
|
* @var string $category
|
|
*/
|
|
protected $category;
|
|
|
|
/**
|
|
* @var integer $session_id
|
|
*/
|
|
protected $session_id;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return Tool
|
|
*/
|
|
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 Tool
|
|
*/
|
|
public function set_id($value)
|
|
{
|
|
$this->id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set name
|
|
*
|
|
* @param string $value
|
|
* @return Tool
|
|
*/
|
|
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 Tool
|
|
*/
|
|
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 Tool
|
|
*/
|
|
public function set_image($value)
|
|
{
|
|
$this->image = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get image
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_image()
|
|
{
|
|
return $this->image;
|
|
}
|
|
|
|
/**
|
|
* Set visibility
|
|
*
|
|
* @param boolean $value
|
|
* @return Tool
|
|
*/
|
|
public function set_visibility($value)
|
|
{
|
|
$this->visibility = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get visibility
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_visibility()
|
|
{
|
|
return $this->visibility;
|
|
}
|
|
|
|
/**
|
|
* Set admin
|
|
*
|
|
* @param string $value
|
|
* @return Tool
|
|
*/
|
|
public function set_admin($value)
|
|
{
|
|
$this->admin = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get admin
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_admin()
|
|
{
|
|
return $this->admin;
|
|
}
|
|
|
|
/**
|
|
* Set address
|
|
*
|
|
* @param string $value
|
|
* @return Tool
|
|
*/
|
|
public function set_address($value)
|
|
{
|
|
$this->address = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get address
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_address()
|
|
{
|
|
return $this->address;
|
|
}
|
|
|
|
/**
|
|
* Set added_tool
|
|
*
|
|
* @param boolean $value
|
|
* @return Tool
|
|
*/
|
|
public function set_added_tool($value)
|
|
{
|
|
$this->added_tool = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get added_tool
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_added_tool()
|
|
{
|
|
return $this->added_tool;
|
|
}
|
|
|
|
/**
|
|
* Set target
|
|
*
|
|
* @param string $value
|
|
* @return Tool
|
|
*/
|
|
public function set_target($value)
|
|
{
|
|
$this->target = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get target
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_target()
|
|
{
|
|
return $this->target;
|
|
}
|
|
|
|
/**
|
|
* Set category
|
|
*
|
|
* @param string $value
|
|
* @return Tool
|
|
*/
|
|
public function set_category($value)
|
|
{
|
|
$this->category = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get category
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_category()
|
|
{
|
|
return $this->category;
|
|
}
|
|
|
|
/**
|
|
* Set session_id
|
|
*
|
|
* @param integer $value
|
|
* @return Tool
|
|
*/
|
|
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;
|
|
}
|
|
} |