110 lines
2.0 KiB
PHP
110 lines
2.0 KiB
PHP
<?php
|
|
/**
|
|
* Copyright © All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Stemcell\Catalog\Model;
|
|
|
|
use Magento\Framework\Model\AbstractModel;
|
|
use Stemcell\Catalog\Api\Data\ExperimentalSchemeInterface;
|
|
|
|
class ExperimentalScheme extends AbstractModel implements ExperimentalSchemeInterface
|
|
{
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function _construct()
|
|
{
|
|
$this->_init(\Stemcell\Catalog\Model\ResourceModel\ExperimentalScheme::class);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getExperimentalschemeId()
|
|
{
|
|
return $this->getData(self::EXPERIMENTALSCHEME_ID);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getCollectionName()
|
|
{
|
|
return $this->getData(self::COLLECTION_NAME);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function setCollectionName(string $collectionName)
|
|
{
|
|
return $this->setData(self::COLLECTION_NAME, $collectionName);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getTitle()
|
|
{
|
|
return $this->getData(self::TITLE);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function setTitle(string $title)
|
|
{
|
|
return $this->setData(self::TITLE, $title);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getImage()
|
|
{
|
|
return $this->getData(self::IMAGE);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function setImage(string $image)
|
|
{
|
|
return $this->setData(self::IMAGE, $image);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getMpUrl()
|
|
{
|
|
return $this->getData(self::MP_URL);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function setMpUrl(string $mpUrl)
|
|
{
|
|
return $this->setData(self::MP_URL, $mpUrl);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function getCollectionSort()
|
|
{
|
|
return $this->getData(self::COLLECTION_SORT);
|
|
}
|
|
|
|
public function setCollectionSort(int $collectionSort)
|
|
{
|
|
return $this->setData(self::COLLECTION_SORT, $collectionSort);
|
|
}
|
|
}
|
|
|