1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-30 12:31:12 +02:00

First week fixes

This commit is contained in:
Yohann D'ANELLO
2020-05-05 01:06:57 +02:00
parent a064cc1817
commit 132481fda0
22 changed files with 541 additions and 59 deletions

View File

@ -157,6 +157,7 @@ class Synthesis
private $team_id;
private $tournament_id;
private $dest;
private $round;
private $uploaded_at;
private $version;
@ -187,7 +188,8 @@ class Synthesis
$this->file_id = $data["file_id"];
$this->team_id = $data["team"];
$this->tournament_id = $data["tournament"];
$this->dest = DestType::fromName($data["dest"]);
$this->dest = $data["dest"];
$this->round = $data["round"];
$this->uploaded_at = $data["uploaded_at"];
$this->version = isset($data["version"]) ? $data["version"] : 1;
}
@ -207,10 +209,15 @@ class Synthesis
return $this->tournament_id;
}
public function getDest()
{
return $this->dest;
}
public function getDest()
{
return $this->dest;
}
public function getRound()
{
return $this->round;
}
public function getUploadedAt()
{