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.
178 lines
2.9 KiB
178 lines
2.9 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class ReservationSubscription extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\ReservationSubscriptionRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\ReservationSubscriptionRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\ReservationSubscription
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $dummy
|
|
*/
|
|
protected $dummy;
|
|
|
|
/**
|
|
* @var integer $user_id
|
|
*/
|
|
protected $user_id;
|
|
|
|
/**
|
|
* @var integer $reservation_id
|
|
*/
|
|
protected $reservation_id;
|
|
|
|
/**
|
|
* @var boolean $accepted
|
|
*/
|
|
protected $accepted;
|
|
|
|
/**
|
|
* @var datetime $start_at
|
|
*/
|
|
protected $start_at;
|
|
|
|
/**
|
|
* @var datetime $end_at
|
|
*/
|
|
protected $end_at;
|
|
|
|
|
|
/**
|
|
* Get dummy
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_dummy()
|
|
{
|
|
return $this->dummy;
|
|
}
|
|
|
|
/**
|
|
* Set user_id
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationSubscription
|
|
*/
|
|
public function set_user_id($value)
|
|
{
|
|
$this->user_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get user_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_user_id()
|
|
{
|
|
return $this->user_id;
|
|
}
|
|
|
|
/**
|
|
* Set reservation_id
|
|
*
|
|
* @param integer $value
|
|
* @return ReservationSubscription
|
|
*/
|
|
public function set_reservation_id($value)
|
|
{
|
|
$this->reservation_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get reservation_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_reservation_id()
|
|
{
|
|
return $this->reservation_id;
|
|
}
|
|
|
|
/**
|
|
* Set accepted
|
|
*
|
|
* @param boolean $value
|
|
* @return ReservationSubscription
|
|
*/
|
|
public function set_accepted($value)
|
|
{
|
|
$this->accepted = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get accepted
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function get_accepted()
|
|
{
|
|
return $this->accepted;
|
|
}
|
|
|
|
/**
|
|
* Set start_at
|
|
*
|
|
* @param datetime $value
|
|
* @return ReservationSubscription
|
|
*/
|
|
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 ReservationSubscription
|
|
*/
|
|
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;
|
|
}
|
|
} |