This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
/**
* Copyright © All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Stemcell\SubItemProduct\Model\ResourceModel;
use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
class SubItem extends AbstractDb
{
/**
* @inheritDoc
*/
protected function _construct()
{
$this->_init('subitem_product', 'subitem_id');
}
}
@@ -0,0 +1,31 @@
<?php
/**
* Copyright © All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Stemcell\SubItemProduct\Model\ResourceModel\SubItem;
use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection;
class Collection extends AbstractCollection
{
/**
* @inheritDoc
*/
protected $_idFieldName = 'subitem_id';
/**
* @inheritDoc
*/
protected function _construct()
{
$this->_init(
\Stemcell\SubItemProduct\Model\SubItem::class,
\Stemcell\SubItemProduct\Model\ResourceModel\SubItem::class
);
}
}