<?php


namespace App\Classes\Modules\Transactions\Services;

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

class ListsBillGroups extends AbstractListRecord
{
    /** @var BillGroup */
    private $repository;

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

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