<?php
/**
 * Webkul Software.
 *
 * @category Webkul
 * @package Webkul_MpPayPal
 * @author Webkul
 * @copyright Copyright (c) Webkul Software Private Limited (https://webkul.com)
 * @license https://store.webkul.com/license.html
 */


namespace Webkul\MpPayPal\Model\ResourceModel\MpPayPal;

class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{

    protected $_idFieldName = 'entity_id';

    /**
     * Initialize resource model
     *
     * @return void
     */
    public function _construct()
    {
        $this->_init(
            \Webkul\MpPayPal\Model\MpPayPal::class,
            \Webkul\MpPayPal\Model\ResourceModel\MpPayPal::class
        );
        $this->_map['fields']['entity_id'] = 'main_table.entity_id';
    }
}
