<?php

namespace App\Filament\Resources\BackupSetResource\Pages;

use App\Filament\Resources\BackupSetResource;
use Filament\Resources\Pages\CreateRecord;
use Illuminate\Database\Eloquent\Model;

class CreateBackupSet extends CreateRecord
{
    protected static string $resource = BackupSetResource::class;

    protected function handleRecordCreation(array $data): Model
    {
        return BackupSetResource::createBackupSet($data);
    }
}
