<?php

namespace App\Classes\Modules\PackingLists\Services;


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

class ListsPackingLists extends AbstractListRecord
{

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

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


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