<?php

namespace App\Classes\Modules\Wallets\Services;

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

class ListsWallet extends AbstractListRecord
{
    /** @var Booking */
    private $repository;

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

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