<?php

namespace App\Classes\Modules\PackingLists\Services\Containers;


use App\Classes\General\Eloquent\AbstractListRecord;
use Illuminate\Database\Eloquent\Builder;
use App\Models\Container;

class ListsContainers extends AbstractListRecord
{

    /** @var Container */
    private $repository;

    /**
     * ListsContainers constructor.
     * @param Container $repository
     */
    public function __construct(Container $repository)
    {
        $this->repository = $repository;
    }


    /**
     * @return Builder
     */
    function getRepository(): Builder
    {
        return $this->repository->newQuery();
    }
}
