<?php

namespace domain\Product\ProductPointSale;

use domain\_\AbstractRepository;

class ProductPointSaleRepository extends AbstractRepository
{
    protected ProductPointSaleRepositoryQuery $query;

    public function loadDependencies(): void
    {
        $this->loadQuery(ProductPointSaleRepositoryQuery::class);
    }

    public function getDefaultOptionsSearch(): array
    {
        return [
            self::WITH => ['product', 'pointSale'],
            self::JOIN_WITH => [],
            self::ORDER_BY => '',
            self::ATTRIBUTE_ID_PRODUCER => ''
        ] ;
    }
}