<?php

/**
 * @Entity(repositoryClass="ClassCancelRepository") @Table(name="class_cancel")
 */

class ClassCancel
{
    /**
     * @Id @GeneratedValue @Column(type="integer")
     */
    protected $id;

    /**
     * @Column(type="string",length=50, nullable=true)
     */
    protected $session;

    /**
     * @Column(type="string",length=30, nullable=true)
     */
    protected $course;

    /**
     * @Column(type="string",length=30, nullable=true)
     */
    protected $stream;

    /**
     * @Column(type="string",length=30, nullable=true)
     */
    protected $sub_code;

    /**
     * @Column(type="string",length=100, nullable=true)
     */
    protected $teacher;

    /**
     * @Column(type="text", nullable=true)
     */
    protected $reason;

    /**
     * @Column(type="string",length=30, nullable=true)
     */
    protected $day;

    /**
     * @Column(type="string",length=10, nullable=true)
     */
    protected $section;

    /**
     * @Column(type="integer",length=11)
     */
    protected $semester;

    /**
     * @Column(type="string",length=30,nullable=true)
     */
    protected $room_number;

    /**
     * @Column(type="integer",length=11)
     */
    protected $period_number;

    /**
     * @Column(type="string",length=50, nullable=true)
     */
    protected $start_time;

    /**
     * @Column(type="string",length=50,nullable=true)
     */
    protected $end_time;

    /**
     * @Column(type="string",length=50,nullable=true)
     */
    protected $date1;

    

    /**
     * Get id.
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set session.
     *
     * @param string|null $session
     *
     * @return ClassCancel
     */
    public function setSession($session = null)
    {
        $this->session = $session;

        return $this;
    }

    /**
     * Get session.
     *
     * @return string|null
     */
    public function getSession()
    {
        return $this->session;
    }

    /**
     * Set course.
     *
     * @param string|null $course
     *
     * @return ClassCancel
     */
    public function setCourse($course = null)
    {
        $this->course = $course;

        return $this;
    }

    /**
     * Get course.
     *
     * @return string|null
     */
    public function getCourse()
    {
        return $this->course;
    }

    /**
     * Set stream.
     *
     * @param string|null $stream
     *
     * @return ClassCancel
     */
    public function setStream($stream = null)
    {
        $this->stream = $stream;

        return $this;
    }

    /**
     * Get stream.
     *
     * @return string|null
     */
    public function getStream()
    {
        return $this->stream;
    }

    /**
     * Set subCode.
     *
     * @param string|null $subCode
     *
     * @return ClassCancel
     */
    public function setSubCode($subCode = null)
    {
        $this->sub_code = $subCode;

        return $this;
    }

    /**
     * Get subCode.
     *
     * @return string|null
     */
    public function getSubCode()
    {
        return $this->sub_code;
    }

    /**
     * Set teacher.
     *
     * @param string|null $teacher
     *
     * @return ClassCancel
     */
    public function setTeacher($teacher = null)
    {
        $this->teacher = $teacher;

        return $this;
    }

    /**
     * Get teacher.
     *
     * @return string|null
     */
    public function getTeacher()
    {
        return $this->teacher;
    }

    /**
     * Set reason.
     *
     * @param string|null $reason
     *
     * @return ClassCancel
     */
    public function setReason($reason = null)
    {
        $this->reason = $reason;

        return $this;
    }

    /**
     * Get reason.
     *
     * @return string|null
     */
    public function getReason()
    {
        return $this->reason;
    }

    /**
     * Set day.
     *
     * @param string|null $day
     *
     * @return ClassCancel
     */
    public function setDay($day = null)
    {
        $this->day = $day;

        return $this;
    }

    /**
     * Get day.
     *
     * @return string|null
     */
    public function getDay()
    {
        return $this->day;
    }

    /**
     * Set semester.
     *
     * @param int $semester
     *
     * @return ClassCancel
     */
    public function setSemester($semester)
    {
        $this->semester = $semester;

        return $this;
    }

    /**
     * Get semester.
     *
     * @return int
     */
    public function getSemester()
    {
        return $this->semester;
    }

    /**
     * Set roomNumber.
     *
     * @param string|null $roomNumber
     *
     * @return ClassCancel
     */
    public function setRoomNumber($roomNumber = null)
    {
        $this->room_number = $roomNumber;

        return $this;
    }

    /**
     * Get roomNumber.
     *
     * @return string|null
     */
    public function getRoomNumber()
    {
        return $this->room_number;
    }

    /**
     * Set periodNumber.
     *
     * @param int $periodNumber
     *
     * @return ClassCancel
     */
    public function setPeriodNumber($periodNumber)
    {
        $this->period_number = $periodNumber;

        return $this;
    }

    /**
     * Get periodNumber.
     *
     * @return int
     */
    public function getPeriodNumber()
    {
        return $this->period_number;
    }

    /**
     * Set startTime.
     *
     * @param string|null $startTime
     *
     * @return ClassCancel
     */
    public function setStartTime($startTime = null)
    {
        $this->start_time = $startTime;

        return $this;
    }

    /**
     * Get startTime.
     *
     * @return string|null
     */
    public function getStartTime()
    {
        return $this->start_time;
    }

    /**
     * Set endTime.
     *
     * @param string|null $endTime
     *
     * @return ClassCancel
     */
    public function setEndTime($endTime = null)
    {
        $this->end_time = $endTime;

        return $this;
    }

    /**
     * Get endTime.
     *
     * @return string|null
     */
    public function getEndTime()
    {
        return $this->end_time;
    }

    /**
     * Set date1.
     *
     * @param string|null $date1
     *
     * @return ClassCancel
     */
    public function setDate1($date1 = null)
    {
        $this->date1 = $date1;

        return $this;
    }

    /**
     * Get date1.
     *
     * @return string|null
     */
    public function getDate1()
    {
        return $this->date1;
    }

    /**
     * Set section.
     *
     * @param string|null $section
     *
     * @return ClassCancel
     */
    public function setSection($section = null)
    {
        $this->section = $section;

        return $this;
    }

    /**
     * Get section.
     *
     * @return string|null
     */
    public function getSection()
    {
        return $this->section;
    }
}
