init
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
<?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\CryopreserveInterface;
|
||||
|
||||
class Cryopreserve extends AbstractModel implements CryopreserveInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function _construct()
|
||||
{
|
||||
$this->_init(\Stemcell\Catalog\Model\ResourceModel\Cryopreserve::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getCryopreserveId()
|
||||
{
|
||||
return $this->getData(self::CRYOPRESERVE_ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getSample()
|
||||
{
|
||||
return $this->getData(self::SAMPLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setSample($sample)
|
||||
{
|
||||
return $this->setData(self::SAMPLE, $sample);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->getData(self::TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
return $this->setData(self::TYPE, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getCellType()
|
||||
{
|
||||
return $this->getData(self::CELL_TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setCellType($cellType)
|
||||
{
|
||||
return $this->setData(self::CELL_TYPE, $cellType);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getReferenceDensity()
|
||||
{
|
||||
return $this->getData(self::REFERENCE_DENSITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setReferenceDensity($referenceDensity)
|
||||
{
|
||||
return $this->setData(self::REFERENCE_DENSITY, $referenceDensity);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getDesc()
|
||||
{
|
||||
return $this->getData(self::DESC);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setDesc($desc)
|
||||
{
|
||||
return $this->setData(self::DESC, $desc);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getReference()
|
||||
{
|
||||
return $this->getData(self::REFERENCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function setReference($reference)
|
||||
{
|
||||
return $this->setData(self::REFERENCE, $reference);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user