]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/Vote.php
Add HidenEntity field type
[airbundle] / Entity / Vote.php
index 7b2fb53530623cea87d57a8f857bcd54ccca14a4..9949ba6f4df18d5d8c4de74415c061505cfa872f 100644 (file)
@@ -5,137 +5,126 @@ namespace Rapsys\AirBundle\Entity;
 /**
  * Vote
  */
 /**
  * Vote
  */
-class Vote
-{
-    /**
-     * @var integer
-     */
-    private $id;
-
-    /**
-     * @var \DateTime
-     */
-    private $created;
-
-    /**
-     * @var \DateTime
-     */
-    private $updated;
-
-    /**
-     * @var \Rapsys\AirBundle\Entity\Application
-     */
-    private $application;
-
-    /**
-     * @var \Rapsys\AirBundle\Entity\User
-     */
-    private $user;
-
-
-    /**
-     * Get id
-     *
-     * @return integer
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set created
-     *
-     * @param \DateTime $created
-     *
-     * @return Vote
-     */
-    public function setCreated($created)
-    {
-        $this->created = $created;
-
-        return $this;
-    }
-
-    /**
-     * Get created
-     *
-     * @return \DateTime
-     */
-    public function getCreated()
-    {
-        return $this->created;
-    }
-
-    /**
-     * Set updated
-     *
-     * @param \DateTime $updated
-     *
-     * @return Vote
-     */
-    public function setUpdated($updated)
-    {
-        $this->updated = $updated;
-
-        return $this;
-    }
-
-    /**
-     * Get updated
-     *
-     * @return \DateTime
-     */
-    public function getUpdated()
-    {
-        return $this->updated;
-    }
-
-    /**
-     * Set application
-     *
-     * @param \Rapsys\AirBundle\Entity\Application $application
-     *
-     * @return Vote
-     */
-    public function setApplication(\Rapsys\AirBundle\Entity\Application $application = null)
-    {
-        $this->application = $application;
-
-        return $this;
-    }
-
-    /**
-     * Get application
-     *
-     * @return \Rapsys\AirBundle\Entity\Application
-     */
-    public function getApplication()
-    {
-        return $this->application;
-    }
-
-    /**
-     * Set user
-     *
-     * @param \Rapsys\AirBundle\Entity\User $user
-     *
-     * @return Vote
-     */
-    public function setUser(\Rapsys\AirBundle\Entity\User $user = null)
-    {
-        $this->user = $user;
-
-        return $this;
-    }
-
-    /**
-     * Get user
-     *
-     * @return \Rapsys\AirBundle\Entity\User
-     */
-    public function getUser()
-    {
-        return $this->user;
-    }
+class Vote {
+       /**
+        * @var integer
+        */
+       private $id;
+
+       /**
+        * @var \DateTime
+        */
+       private $created;
+
+       /**
+        * @var \DateTime
+        */
+       private $updated;
+
+       /**
+        * @var \Rapsys\AirBundle\Entity\Application
+        */
+       private $application;
+
+       /**
+        * @var \Rapsys\AirBundle\Entity\User
+        */
+       private $user;
+
+       /**
+        * Get id
+        *
+        * @return integer
+        */
+       public function getId() {
+               return $this->id;
+       }
+
+       /**
+        * Set created
+        *
+        * @param \DateTime $created
+        *
+        * @return Vote
+        */
+       public function setCreated($created) {
+               $this->created = $created;
+
+               return $this;
+       }
+
+       /**
+        * Get created
+        *
+        * @return \DateTime
+        */
+       public function getCreated() {
+               return $this->created;
+       }
+
+       /**
+        * Set updated
+        *
+        * @param \DateTime $updated
+        *
+        * @return Vote
+        */
+       public function setUpdated($updated) {
+               $this->updated = $updated;
+
+               return $this;
+       }
+
+       /**
+        * Get updated
+        *
+        * @return \DateTime
+        */
+       public function getUpdated() {
+               return $this->updated;
+       }
+
+       /**
+        * Set application
+        *
+        * @param \Rapsys\AirBundle\Entity\Application $application
+        *
+        * @return Vote
+        */
+       public function setApplication(\Rapsys\AirBundle\Entity\Application $application = null) {
+               $this->application = $application;
+
+               return $this;
+       }
+
+       /**
+        * Get application
+        *
+        * @return \Rapsys\AirBundle\Entity\Application
+        */
+       public function getApplication() {
+               return $this->application;
+       }
+
+       /**
+        * Set user
+        *
+        * @param \Rapsys\AirBundle\Entity\User $user
+        *
+        * @return Vote
+        */
+       public function setUser(\Rapsys\AirBundle\Entity\User $user = null) {
+               $this->user = $user;
+
+               return $this;
+       }
+
+       /**
+        * Get user
+        *
+        * @return \Rapsys\AirBundle\Entity\User
+        */
+       public function getUser() {
+               return $this->user;
+       }
 }
 }