| Current Path : /home/rtorresani/www/vendor/magento/module-adobe-stock-asset/Model/ResourceModel/ |
| Current File : //home/rtorresani/www/vendor/magento/module-adobe-stock-asset/Model/ResourceModel/Asset.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\AdobeStockAsset\Model\ResourceModel;
use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
/**
* Asset (metadata) resource model
*/
class Asset extends AbstractDb
{
private const ADOBE_STOCK_ASSET_TABLE_NAME = 'adobe_stock_asset';
/**
* @inheritdoc
*/
protected $_isPkAutoIncrement = false;
/**
* @inheritdoc
*/
protected $_useIsObjectNew = true;
/**
* Initialize with table name and primary field
*/
protected function _construct(): void
{
$this->_init(self::ADOBE_STOCK_ASSET_TABLE_NAME, 'id');
}
}