<?php

namespace App\Classes\Modules\Notifications\Services;


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

class ListsNotification extends AbstractListRecord
{

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

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


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