Spamworldpro Mini Shell
Spamworldpro


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/cartforge.co/app/code/Webkul/PrivateShop/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/app/code/Webkul/PrivateShop/Model/PrivateProduct.php
<?php
/**
 * Webkul Software
 *
 * @category  Webkul
 * @package   Webkul_PrivateShop
 * @author    Webkul Software Private Limited
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */
namespace Webkul\PrivateShop\Model;

use Webkul\PrivateShop\Api\Data\PrivateProductInterface;

class PrivateProduct extends \Magento\Framework\Model\AbstractModel implements PrivateProductInterface
{
    /**
     * @var $_eventPrefix
     */
    protected $_eventPrefix = 'webkul_privateshop_privateproduct';

    /**
     * This is Constructor
     *
     * @return void
     */
    protected function _construct()
    {
        $this->_init(\Webkul\PrivateShop\Model\ResourceModel\PrivateProduct::class);
    }

    /**
     * Get entity_id
     *
     * @return string
     */
    public function getEntityId()
    {
        return $this->getData(self::ENTITY_ID);
    }

    /**
     * Set entity_id
     *
     * @param string $entityId
     * @return \Webkul\PrivateShop\Api\Data\PrivateProductInterface
     */
    public function setEntityId($entityId)
    {
        return $this->setData(self::ENTITY_ID, $entityId);
    }

    /**
     * Get product_id
     *
     * @return string
     */
    public function getProductId()
    {
        return $this->getData(self::PRODUCT_ID);
    }

    /**
     * Set product_id
     *
     * @param string $productId
     * @return \Webkul\PrivateShop\Api\Data\PrivateProductInterface
     */
    public function setProductId($productId)
    {
        return $this->setData(self::PRODUCT_ID, $productId);
    }

    /**
     * Get group_id
     *
     * @return string
     */
    public function getGroupId()
    {
        return $this->getData(self::GROUP_ID);
    }

    /**
     * Set group_id
     *
     * @param string $groupId
     * @return \Webkul\PrivateShop\Api\Data\PrivateProductInterface
     */
    public function setGroupId($groupId)
    {
        return $this->setData(self::GROUP_ID, $groupId);
    }

    /**
     * Get store_id
     *
     * @return int|null
     */
    public function getStoreId()
    {
        return $this->getData(self::STORE_ID);
    }

    /**
     * Set store_id
     *
     * @param string $storeId
     * @return \Webkul\PrivateShop\Api\Data\PrivateProductInterface
     */
    public function setStoreId($storeId)
    {
        return $this->setData(self::STORE_ID, $storeId);
    }
}

Spamworldpro Mini