<?php
/**
 * @author Aitoc Team
 * @copyright Copyright (c) 2020 Aitoc (https://www.aitoc.com)
 * @package Aitoc_PreOrders
 */

/**
 * Copyright © 2018 Aitoc. All rights reserved.
 * Developed by Alex Yakimovich
 */

namespace Aitoc\PreOrders\Model\ResourceModel\PreOrderSubscribers;

use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection;
use Aitoc\PreOrders\Model\PreOrderSubscribers;
use Aitoc\PreOrders\Model\ResourceModel\PreOrderSubscribers as PreOrderSubscribersResourceModel;

/**
 * @SuppressWarnings(PHPMD.CamelCasePropertyName)
 */
class Collection extends AbstractCollection
{
    /**
     * Define resource model
     *
     * @return void
     * @SuppressWarnings(PHPMD.CamelCaseMethodName)
     */
    public function _construct()
    {
        $this->_init(
            PreOrderSubscribers::class,
            PreOrderSubscribersResourceModel::class
        );
    }
}
