<?php

namespace App\Classes\Modules\Transports\Services;


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

class ListsTransports extends AbstractListRecord
{

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

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


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