X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FUserBundle%2FEntity%2FUser.php;h=4851999f27b4de6b54b2e37ac9f5d5f8aafbbec1;hb=87f23b005c5f68f7463333a74317efa4eb9a9565;hp=e65284203bb349c6bd3ed7bf5557fc089966f4e0;hpb=d51b38ed309c9aead938e8c8963c05c6d82b4ec2;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php index e6528420..4851999f 100644 --- a/src/Wallabag/UserBundle/Entity/User.php +++ b/src/Wallabag/UserBundle/Entity/User.php @@ -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; + } }