From 2f93504ac553b3541c1af6f8cabe9f9c7e36646c Mon Sep 17 00:00:00 2001 From: aynsix Date: Thu, 2 Dec 2021 16:35:22 +0300 Subject: [PATCH] PHRAS-3595 --- .../Phrasea/Model/Entities/FeedEntry.php | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/Model/Entities/FeedEntry.php b/lib/Alchemy/Phrasea/Model/Entities/FeedEntry.php index 585c1e2c1c..2e033efae0 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/FeedEntry.php +++ b/lib/Alchemy/Phrasea/Model/Entities/FeedEntry.php @@ -77,6 +77,11 @@ class FeedEntry */ private $feed; + /** + * @ORM\Column(name="notifyemail_on", type="datetime", nullable=true) + */ + private $notifyEmailOn; + /** * Constructor */ @@ -213,7 +218,7 @@ class FeedEntry /** * Set updated * - * @param \DateTime $updated + * @param \DateTime $updatedOn * @return FeedEntry */ public function setUpdatedOn($updatedOn) @@ -312,6 +317,26 @@ class FeedEntry return $this->feed; } + /** + * Get notifyEmailOn + * + * @return \DateTime|null + */ + public function getNotifyEmailOn() + { + return $this->notifyEmailOn; + } + + /** + * Set notifyEmailOn + * + * @param \DateTime $notifyEmailOn + */ + public function setNotifyEmailOn($notifyEmailOn) + { + $this->notifyEmailOn = $notifyEmailOn; + } + /** * Returns a boolean indicating whether the given User is the publisher of the entry. *