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.
394 lines
6.3 KiB
394 lines
6.3 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class ReservationMain extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\ReservationMainRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\ReservationMainRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\ReservationMain
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $id
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var integer $subid
|
|
*/
|
|
protected $subid;
|
|
|
|
/**
|
|
* @var integer $item_id
|
|
*/
|
|
protected $item_id;
|
|
|
|
/**
|
|
* @var boolean $auto_accept
|
|
*/
|
|
protected $auto_accept;
|
|
|
|
/**
|
|
* @var integer $max_users
|
|
*/
|
|
protected $max_users;
|
|
|
|
/**
|
|
* @var datetime $start_at
|
|
*/
|
|
protected $start_at;
|
|
|
|
/**
|
|
* @var datetime $end_at
|
|
*/
|
|
protected $end_at;
|
|
|
|
/**
|
|
* @var datetime $subscribe_from
|
|
*/
|
|
protected $subscribe_from;
|
|
|
|
/**
|
|
* @var datetime $subscribe_until
|
|
*/
|
|
protected $subscribe_until;
|
|
|
|
/**
|
|
* @var integer $subscribers
|
|
*/
|
|
protected $subscribers;
|
|
|
|
/**
|
|
* @var text $notes
|
|
*/
|
|
protected $notes;
|
|
|
|
/**
|
|
* @var boolean $timepicker
|
|
*/
|
|
protected $timepicker;
|
|
|
|
/**
|
|
* @var integer $timepicker_min
|
|
*/
|
|
protected $timepicker_min;
|
|
|
|
/**
|
|
* @var integer $timepicker_max
|
|
*/
|
|
protected $timepicker_max;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_id()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set subid
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_subid($value)
|
|
{
|
|
$this->subid = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get subid
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_subid()
|
|
{
|
|
return $this->subid;
|
|
}
|
|
|
|
/**
|
|
* Set item_id
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_item_id($value)
|
|
{
|
|
$this->item_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get item_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_item_id()
|
|
{
|
|
return $this->item_id;
|
|
}
|
|
|
|
/**
|
|
* Set auto_accept
|
|
*
|
|
* @param boolean $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_auto_accept($value)
|
|
{
|
|
$this->auto_accept = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get auto_accept
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_auto_accept()
|
|
{
|
|
return $this->auto_accept;
|
|
}
|
|
|
|
/**
|
|
* Set max_users
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_max_users($value)
|
|
{
|
|
$this->max_users = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get max_users
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_max_users()
|
|
{
|
|
return $this->max_users;
|
|
}
|
|
|
|
/**
|
|
* Set start_at
|
|
*
|
|
* @param datetime $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_start_at($value)
|
|
{
|
|
$this->start_at = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get start_at
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_start_at()
|
|
{
|
|
return $this->start_at;
|
|
}
|
|
|
|
/**
|
|
* Set end_at
|
|
*
|
|
* @param datetime $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_end_at($value)
|
|
{
|
|
$this->end_at = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get end_at
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_end_at()
|
|
{
|
|
return $this->end_at;
|
|
}
|
|
|
|
/**
|
|
* Set subscribe_from
|
|
*
|
|
* @param datetime $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_subscribe_from($value)
|
|
{
|
|
$this->subscribe_from = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get subscribe_from
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_subscribe_from()
|
|
{
|
|
return $this->subscribe_from;
|
|
}
|
|
|
|
/**
|
|
* Set subscribe_until
|
|
*
|
|
* @param datetime $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_subscribe_until($value)
|
|
{
|
|
$this->subscribe_until = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get subscribe_until
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_subscribe_until()
|
|
{
|
|
return $this->subscribe_until;
|
|
}
|
|
|
|
/**
|
|
* Set subscribers
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_subscribers($value)
|
|
{
|
|
$this->subscribers = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get subscribers
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_subscribers()
|
|
{
|
|
return $this->subscribers;
|
|
}
|
|
|
|
/**
|
|
* Set notes
|
|
*
|
|
* @param text $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_notes($value)
|
|
{
|
|
$this->notes = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get notes
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_notes()
|
|
{
|
|
return $this->notes;
|
|
}
|
|
|
|
/**
|
|
* Set timepicker
|
|
*
|
|
* @param boolean $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_timepicker($value)
|
|
{
|
|
$this->timepicker = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get timepicker
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_timepicker()
|
|
{
|
|
return $this->timepicker;
|
|
}
|
|
|
|
/**
|
|
* Set timepicker_min
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_timepicker_min($value)
|
|
{
|
|
$this->timepicker_min = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get timepicker_min
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_timepicker_min()
|
|
{
|
|
return $this->timepicker_min;
|
|
}
|
|
|
|
/**
|
|
* Set timepicker_max
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationMain
|
|
*/
|
|
public function set_timepicker_max($value)
|
|
{
|
|
$this->timepicker_max = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get timepicker_max
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_timepicker_max()
|
|
{
|
|
return $this->timepicker_max;
|
|
}
|
|
} |