<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 *
 * @license see /license.txt
 * @author autogenerated
 */
class SysCalendar extends \Entity
{
    /**
     * @return \Entity\Repository\SysCalendarRepository
     */
     public static function repository(){
        return \Entity\Repository\SysCalendarRepository::instance();
    }

    /**
     * @return \Entity\SysCalendar
     */
     public static function create(){
        return new self();
    }

    /**
     * @var integer $id
     */
    protected $id;

    /**
     * @var string $title
     */
    protected $title;

    /**
     * @var text $content
     */
    protected $content;

    /**
     * @var datetime $start_date
     */
    protected $start_date;

    /**
     * @var datetime $end_date
     */
    protected $end_date;

    /**
     * @var integer $access_url_id
     */
    protected $access_url_id;

    /**
     * @var integer $all_day
     */
    protected $all_day;


    /**
     * Get id
     *
     * @return integer 
     */
    public function get_id()
    {
        return $this->id;
    }

    /**
     * Set title
     *
     * @param string $value
     * @return SysCalendar
     */
    public function set_title($value)
    {
        $this->title = $value;
        return $this;
    }

    /**
     * Get title
     *
     * @return string 
     */
    public function get_title()
    {
        return $this->title;
    }

    /**
     * Set content
     *
     * @param text $value
     * @return SysCalendar
     */
    public function set_content($value)
    {
        $this->content = $value;
        return $this;
    }

    /**
     * Get content
     *
     * @return text 
     */
    public function get_content()
    {
        return $this->content;
    }

    /**
     * Set start_date
     *
     * @param datetime $value
     * @return SysCalendar
     */
    public function set_start_date($value)
    {
        $this->start_date = $value;
        return $this;
    }

    /**
     * Get start_date
     *
     * @return datetime 
     */
    public function get_start_date()
    {
        return $this->start_date;
    }

    /**
     * Set end_date
     *
     * @param datetime $value
     * @return SysCalendar
     */
    public function set_end_date($value)
    {
        $this->end_date = $value;
        return $this;
    }

    /**
     * Get end_date
     *
     * @return datetime 
     */
    public function get_end_date()
    {
        return $this->end_date;
    }

    /**
     * Set access_url_id
     *
     * @param integer $value
     * @return SysCalendar
     */
    public function set_access_url_id($value)
    {
        $this->access_url_id = $value;
        return $this;
    }

    /**
     * Get access_url_id
     *
     * @return integer 
     */
    public function get_access_url_id()
    {
        return $this->access_url_id;
    }

    /**
     * Set all_day
     *
     * @param integer $value
     * @return SysCalendar
     */
    public function set_all_day($value)
    {
        $this->all_day = $value;
        return $this;
    }

    /**
     * Get all_day
     *
     * @return integer 
     */
    public function get_all_day()
    {
        return $this->all_day;
    }
}