<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class GameTimer {
/**
* @var int
*/
private $id;
/**
* @var \DateTime
*/
private $startAt;
/**
* @var \DateTime
*/
private $endAt;
/**
* @var \DateTime|null
*/
private $pauseAt;
/**
* @var int
*/
private $duration;
/**
* @var \DateTime
*/
private $createdAt;
/**
* @var \App\Entity\SchoolClass
*/
private $schoolClass;
public function getId(): int {
return $this->id;
}
public function getStartAt(): \DateTime {
return $this->startAt;
}
public function getEndAt(): \DateTime {
return $this->endAt;
}
public function getPauseAt() {
return $this->pauseAt;
}
public function getDuration(): int {
return $this->duration;
}
public function getCreatedAt(): \DateTime {
return $this->createdAt;
}
public function getSchoolClass(): \App\Entity\SchoolClass {
return $this->schoolClass;
}
public function setId(int $id): void {
$this->id = $id;
}
public function setStartAt(\DateTime $startAt): void {
$this->startAt = $startAt;
}
public function setEndAt(\DateTime $endAt): void {
$this->endAt = $endAt;
}
public function setPauseAt(\DateTime $pauseAt = null): void {
$this->pauseAt = $pauseAt;
}
public function setDuration(int $duration): void {
$this->duration = $duration;
}
public function setCreatedAt(\DateTime $createdAt): void {
$this->createdAt = $createdAt;
}
public function setSchoolClass(\App\Entity\SchoolClass $schoolClass): void {
$this->schoolClass = $schoolClass;
}
}