123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394 |
- <?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;
- }
- }
|