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

27 lines
410 B
PHP
Raw Normal View History

2022-03-13 19:54:34 +00:00
<?php
namespace App\Timetable;
use \DateTime;
/**
* Represents a record in timetable
*/
class Time
{
public int $id;
public int $teamId;
public DateTime $date;
2022-03-14 10:36:45 +00:00
public function setTeamId(int $teamId): Self
{
$this->teamId = $teamId;
return $this;
}
public function setDate(DateTime $date): Self
{
$this->date = $date;
return $this;
}
2022-03-13 19:54:34 +00:00
}