public function checkTimes()
{
$start = strtotime($this->start_time);
$end = strtotime($this->end_time);
if ($end <= $start) {
$this->addError('end_time', 'End time must be after the start time.');
}
}