init
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?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\TissueInterface;
|
||||
|
||||
class Tissue extends AbstractModel implements TissueInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function _construct()
|
||||
{
|
||||
$this->_init(\Stemcell\Catalog\Model\ResourceModel\Tissue::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getTissueId()
|
||||
{
|
||||
return $this->getData(self::TISSUE_ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getTissueName()
|
||||
{
|
||||
return $this->getData(self::TISSUE_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setTissueName($tissueName)
|
||||
{
|
||||
return $this->setData(self::TISSUE_NAME, $tissueName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user