From bf6c0346d8d35a719dd1bff1cb4d573d422f99ff Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 31 May 2017 09:31:18 +0200 Subject: WIP Signed-off-by: Thomas Citharel --- src/Wallabag/CoreBundle/Entity/Share.php | 140 +++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 src/Wallabag/CoreBundle/Entity/Share.php (limited to 'src/Wallabag/CoreBundle/Entity/Share.php') diff --git a/src/Wallabag/CoreBundle/Entity/Share.php b/src/Wallabag/CoreBundle/Entity/Share.php new file mode 100644 index 00000000..a55b4e67 --- /dev/null +++ b/src/Wallabag/CoreBundle/Entity/Share.php @@ -0,0 +1,140 @@ +accepted = false; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @return Account + */ + public function getUserOrigin() + { + return $this->userOrigin; + } + + /** + * @param User $userOrigin + * @return Share + */ + public function setUserOrigin(User $userOrigin) + { + $this->userOrigin = $userOrigin; + return $this; + } + + /** + * @return Account + */ + public function getUserDestination() + { + return $this->userDestination; + } + + /** + * @param User $userDestination + * @return Share + */ + public function setUserDestination(User $userDestination) + { + $this->userDestination = $userDestination; + return $this; + } + + /** + * @return bool + */ + public function isAccepted() + { + return $this->accepted; + } + + /** + * @param bool $accepted + * @return Share + */ + public function setAccepted($accepted) + { + $this->accepted = $accepted; + return $this; + } + + /** + * @return Entry + */ + public function getEntry() + { + return $this->entry; + } + + /** + * @param Entry $entry + * @return Share + */ + public function setEntry(Entry $entry) + { + $this->entry = $entry; + return $this; + } +} -- cgit v1.2.3