<?php

declare(strict_types=1);

namespace Dation\Woocommerce\Model;


class CourseInstanceSlot {
	/** @var int $id */
	private $id;

	/** @var \DateTime $startDate */
	private $startDate;

	/** @var \DateTime $endDate */
	private $endDate;

	public function getId(): int {
		return $this->id;
	}

	public function getStartDate(): \DateTime {
		return $this->startDate;
	}

	public function getEndDate(): \DateTime {
		return $this->endDate;
	}

	public function setId(int $id): CourseInstanceSlot {
		$this->id = $id;
		return $this;
	}

	public function setStartDate(\DateTime $startDate): CourseInstanceSlot {
		$this->startDate = $startDate;
		return $this;
	}

	public function setEndDate(\DateTime $endDate): CourseInstanceSlot {
		$this->endDate = $endDate;

		return $this;
	}
}
