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:
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user