]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/Session.php
Add locked field
[airbundle] / Entity / Session.php
index e2ffc7afd72584d5cfdac4a6534dbd796bd7a72d..20d50ddc8c2bbfa9fa9dfd6f050025aab08ed30c 100644 (file)
@@ -81,6 +81,11 @@ class Session {
         */
        private $temperaturemax;
 
+       /**
+        * @var \DateTime
+        */
+       private $locked;
+
        /**
         * @var \DateTime
         */
@@ -433,6 +438,28 @@ class Session {
                return $this->temperaturemax;
        }
 
+       /**
+        * Set locked
+        *
+        * @param \DateTime $locked
+        *
+        * @return Session
+        */
+       public function setLocked($locked) {
+               $this->locked = $locked;
+
+               return $this;
+       }
+
+       /**
+        * Get locked
+        *
+        * @return \DateTime
+        */
+       public function getLocked() {
+               return $this->locked;
+       }
+
        /**
         * Set created
         *