This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/app/lib/App/Timetable/Time.php
2022-04-14 20:59:42 +00:00

27 lines
414 B
PHP

<?php
namespace App\Timetable;
use \DateTime;
/**
* Represents a record in timetable
*/
class Time
{
public int $id;
public int $team_id;
public DateTime $date;
public function setTeamId(int $team_id): Self
{
$this->team_id = $team_id;
return $this;
}
public function setDate(DateTime $date): Self
{
$this->date = $date;
return $this;
}
}