<?php

namespace App\Classes\Modules\Accounting\Services;

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

class ListsBankStatementDetails extends AbstractListRecord
{

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

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


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