From: Raphaël Gertz Date: Tue, 8 Dec 2020 00:22:05 +0000 (+0100) Subject: Add score and canceled field X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/6217fb2e83d585724cdee8fa28834cfd76f48120 Add score and canceled field --- diff --git a/Entity/Application.php b/Entity/Application.php index a31aa92..2e8cca5 100644 --- a/Entity/Application.php +++ b/Entity/Application.php @@ -11,6 +11,16 @@ class Application { */ private $id; + /** + * @var float + */ + private $score; + + /** + * @var \DateTime + */ + private $canceled; + /** * @var \DateTime */ @@ -21,11 +31,6 @@ class Application { */ private $updated; - - //TODO: ajouter un champ score à replir lors de l'attribution d'une session - //XXX: champ float avec une bonne capacité en décimale - - /** * @var \Doctrine\Common\Collections\Collection */ @@ -57,6 +62,50 @@ class Application { return $this->id; } + /** + * Set score + * + * @param float $score + * + * @return Application + */ + public function setScore($score) { + $this->score = $score; + + return $this; + } + + /** + * Get score + * + * @return float + */ + public function getScore() { + return $this->score; + } + + /** + * Set canceled + * + * @param \DateTime $canceled + * + * @return Application + */ + public function setCanceled($canceled) { + $this->canceled = $canceled; + + return $this; + } + + /** + * Get canceled + * + * @return \DateTime + */ + public function getCanceled() { + return $this->canceled; + } + /** * Set created *