<?php

namespace App\Classes\Modules\Accounting\Services;

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

class ListsBankStatementTransactions extends AbstractListRecord
{

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

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


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