<?php

declare(strict_types=1);

namespace App\Filament\Resources\DberpInventorySerialNumbers\Pages;

use App\Filament\Resources\DberpInventorySerialNumbers\Concerns\InteractsWithInventorySerialNumberGovernanceToggle;
use App\Filament\Resources\DberpInventorySerialNumbers\DberpInventorySerialNumberResource;
use Filament\Resources\Pages\ViewRecord;

class ViewDberpInventorySerialNumber extends ViewRecord
{
    use InteractsWithInventorySerialNumberGovernanceToggle;

    protected static string $resource = DberpInventorySerialNumberResource::class;

    protected function getHeaderActions(): array
    {
        return [
            $this->makeToggleEnabledGovernanceAction(),
        ];
    }
}
