]> Raphaël G. Git Repositories - airbundle/commitdiff
Add hotspot flag on location
authorRaphaël Gertz <git@rapsys.eu>
Sun, 13 Dec 2020 20:52:51 +0000 (21:52 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 13 Dec 2020 20:52:51 +0000 (21:52 +0100)
Entity/Location.php

index 43605ed6142ff70fb260a5af6857283f3a19d0c1..73fc6b980ff79370d14e6fb6103b4fc0e87cd752 100644 (file)
@@ -46,6 +46,11 @@ class Location {
         */
        private $longitude;
 
         */
        private $longitude;
 
+       /**
+        * @var boolean
+        */
+       private $hotspot;
+
        /**
         * @var \DateTime
         */
        /**
         * @var \DateTime
         */
@@ -231,6 +236,28 @@ class Location {
                return $this->longitude;
        }
 
                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
         *
        /**
         * Set created
         *