![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/amasty/feed/Model/Schedule/ |
<?php /** * @author Amasty Team * @copyright Copyright (c) Amasty (https://www.amasty.com) * @package Product Feed for Magento 2 */ namespace Amasty\Feed\Model\Schedule; use Amasty\Feed\Api\Data\ScheduleInterface; use Amasty\Feed\Model\Schedule\ResourceModel\Schedule as ScheduleResourceModel; use Magento\Framework\Model\AbstractModel; class Schedule extends AbstractModel implements ScheduleInterface { /** * Init resource model * * @return void */ public function _construct() { $this->_init(ScheduleResourceModel::class); } /** * {@inheritdoc} */ public function getId() { return $this->getData(self::ID); } /** * {@inheritdoc} */ public function setId($id) { return $this->setData(self::ID, $id); } /** * {@inheritdoc} */ public function getFeedId() { return $this->getData(self::FEED_ID); } /** * {@inheritdoc} */ public function setFeedId($feedId) { return $this->setData(self::FEED_ID, $feedId); } /** * {@inheritdoc} */ public function getCronTime() { return $this->getData(self::CRON_TIME); } /** * {@inheritdoc} */ public function setCronTime($cronTime) { return $this->setData(self::CRON_TIME, $cronTime); } /** * {@inheritdoc} */ public function getCronDay() { return $this->getData(self::CRON_DAY); } /** * {@inheritdoc} */ public function setCronDay($cronDay) { return $this->setData(self::CRON_DAY, $cronDay); } }