ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
namespace Magento\TestModule4\Model\ResourceModel;
|
||||
|
||||
/**
|
||||
* Sample resource model
|
||||
*/
|
||||
class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
|
||||
{
|
||||
/**
|
||||
* Initialize connection and define main table
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function _construct()
|
||||
{
|
||||
$this->_init('dummy_item', 'dummy_item_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user