]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/Location.php
Add hotspot flag on location
[airbundle] / Entity / Location.php
index 43605ed6142ff70fb260a5af6857283f3a19d0c1..73fc6b980ff79370d14e6fb6103b4fc0e87cd752 100644 (file)
@@ -46,6 +46,11 @@ class Location {
         */
        private $longitude;
 
+       /**
+        * @var boolean
+        */
+       private $hotspot;
+
        /**
         * @var \DateTime
         */
@@ -231,6 +236,28 @@ class Location {
                return $this->longitude;
        }
 
+       /**
+        * Set hotspot
+        *
+        * @param boolean $hotspot
+        *
+        * @return Session
+        */
+       public function setHotspot($hotspot) {
+               $this->hotspot = $hotspot;
+
+               return $this;
+       }
+
+       /**
+        * Get hotspot
+        *
+        * @return boolean
+        */
+       public function getHotspot() {
+               return $this->hotspot;
+       }
+
        /**
         * Set created
         *