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/main/inc/entity/reservation_item.class.php

232 lines
3.7 KiB

<?php
namespace Entity;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @license see /license.txt
* @author autogenerated
*/
class ReservationItem extends \Entity
{
/**
* @return \Entity\Repository\ReservationItemRepository
*/
public static function repository(){
return \Entity\Repository\ReservationItemRepository::instance();
}
/**
* @return \Entity\ReservationItem
*/
public static function create(){
return new self();
}
/**
* @var integer $id
*/
protected $id;
/**
* @var integer $category_id
*/
protected $category_id;
/**
* @var string $course_code
*/
protected $course_code;
/**
* @var string $name
*/
protected $name;
/**
* @var text $description
*/
protected $description;
/**
* @var boolean $blackout
*/
protected $blackout;
/**
* @var integer $creator
*/
protected $creator;
/**
* @var boolean $always_available
*/
protected $always_available;
/**
* Get id
*
* @return integer
*/
public function get_id()
{
return $this->id;
}
/**
* Set category_id
*
* @param integer $value
* @return ReservationItem
*/
public function set_category_id($value)
{
$this->category_id = $value;
return $this;
}
/**
* Get category_id
*
* @return integer
*/
public function get_category_id()
{
return $this->category_id;
}
/**
* Set course_code
*
* @param string $value
* @return ReservationItem
*/
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 name
*
* @param string $value
* @return ReservationItem
*/
public function set_name($value)
{
$this->name = $value;
return $this;
}
/**
* Get name
*
* @return string
*/
public function get_name()
{
return $this->name;
}
/**
* Set description
*
* @param text $value
* @return ReservationItem
*/
public function set_description($value)
{
$this->description = $value;
return $this;
}
/**
* Get description
*
* @return text
*/
public function get_description()
{
return $this->description;
}
/**
* Set blackout
*
* @param boolean $value
* @return ReservationItem
*/
public function set_blackout($value)
{
$this->blackout = $value;
return $this;
}
/**
* Get blackout
*
* @return boolean
*/
public function get_blackout()
{
return $this->blackout;
}
/**
* Set creator
*
* @param integer $value
* @return ReservationItem
*/
public function set_creator($value)
{
$this->creator = $value;
return $this;
}
/**
* Get creator
*
* @return integer
*/
public function get_creator()
{
return $this->creator;
}
/**
* Set always_available
*
* @param boolean $value
* @return ReservationItem
*/
public function set_always_available($value)
{
$this->always_available = $value;
return $this;
}
/**
* Get always_available
*
* @return boolean
*/
public function get_always_available()
{
return $this->always_available;
}
}