Files
2026-09-15 10:26:34 +08:00

50 lines
902 B
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\SpeciesInterface;
class Species extends AbstractModel implements SpeciesInterface
{
/**
* @inheritDoc
*/
public function _construct()
{
$this->_init(\Stemcell\Catalog\Model\ResourceModel\Species::class);
}
/**
* @inheritDoc
*/
public function getSpeciesId()
{
return $this->getData(self::SPECIES_ID);
}
/**
* @inheritDoc
*/
public function getSpeciesName()
{
return $this->getData(self::SPECIES_NAME);
}
/**
* @inheritDoc
*/
public function setSpeciesName($speciesName)
{
return $this->setData(self::SPECIES_NAME, $speciesName);
}
}