<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

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

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

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

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

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

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

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

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

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

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

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


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

    /**
     * Set user
     *
     * @param integer $value
     * @return PersonalAgenda
     */
    public function set_user($value)
    {
        $this->user = $value;
        return $this;
    }

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

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

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

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

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

    /**
     * Set date
     *
     * @param datetime $value
     * @return PersonalAgenda
     */
    public function set_date($value)
    {
        $this->date = $value;
        return $this;
    }

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

    /**
     * Set enddate
     *
     * @param datetime $value
     * @return PersonalAgenda
     */
    public function set_enddate($value)
    {
        $this->enddate = $value;
        return $this;
    }

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

    /**
     * Set course
     *
     * @param string $value
     * @return PersonalAgenda
     */
    public function set_course($value)
    {
        $this->course = $value;
        return $this;
    }

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

    /**
     * Set parent_event_id
     *
     * @param integer $value
     * @return PersonalAgenda
     */
    public function set_parent_event_id($value)
    {
        $this->parent_event_id = $value;
        return $this;
    }

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

    /**
     * Set all_day
     *
     * @param integer $value
     * @return PersonalAgenda
     */
    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;
    }
}