<?php

namespace App\Classes\Modules\Orders\Services;

use App\Classes\General\Eloquent\AbstractUpdateRecord;
use App\Models\Order;
use App\Classes\Modules\Orders\DataTransferObjects\OrderObject;

class UpdateOrderReference extends AbstractUpdateRecord
{
    public function execute(Order $model, string $reference)
    {
        $model->reference = $reference;

        return $this->handler($model);
    }
}
