]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/Entity/User.php
assign tags to entries and add lastPocketImport attribute to user
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Entity / User.php
index e65284203bb349c6bd3ed7bf5557fc089966f4e0..4851999f27b4de6b54b2e37ac9f5d5f8aafbbec1 100644 (file)
@@ -84,6 +84,13 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
      */
     private $trusted;
 
+    /**
+     * @var date
+     *
+     * @ORM\Column(name="last_pocket_import", type="datetime", nullable=true)
+     */
+    private $lastPocketImport;
+
     public function __construct()
     {
         parent::__construct();
@@ -240,4 +247,20 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
 
         return false;
     }
+
+    /**
+     * @return date
+     */
+    public function getLastPocketImport()
+    {
+        return $this->lastPocketImport;
+    }
+
+    /**
+     * @param date $lastPocketImport
+     */
+    public function setLastPocketImport($lastPocketImport)
+    {
+        $this->lastPocketImport = $lastPocketImport;
+    }
 }