<?php

namespace App\Classes\Modules\ServiceTypes\Services;

use App\Classes\General\Eloquent\AbstractUpdateRecord;
use App\Classes\Modules\ServiceTypes\DataTransferObjects\ServiceTypeObject;
use App\Models\ServiceType;

class UpdatesServiceTypeStatus extends AbstractUpdateRecord
{

    public function execute(ServiceType $model, int $status) {

        $model->status = $status;

        return $this->handler($model);

    }
}