X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/af2a5ccc05e664274d24ee8711d398d7dec8808d..69480335852a70cb4d67fe7f4e3de03580424032:/Entity/Application.php 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 *