<?php
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
declare(strict_types=1);

namespace WriteTextAI\WriteTextAI\Model\ResourceModel\AiCategory;

use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection;

class Collection extends AbstractCollection
{
    /**
     * @var string
     */
    protected $_idFieldName = 'categories_id';

    /**
     * @inheritDoc
     */
    protected function _construct()
    {
        $this->_init(
            \WriteTextAI\WriteTextAI\Model\AiCategory::class,
            \WriteTextAI\WriteTextAI\Model\ResourceModel\AiCategory::class
        );
    }
}
