<?php

namespace App\Classes\Modules\Milestones\Services;


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

class ListsMilestoneProgress extends AbstractListRecord
{

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

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


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