<?php
declare(strict_types=1);

namespace App\Models;

final class SetupState extends BaseModel
{
    protected static string $table = 'setup_states';
    protected static bool $softDelete = false;

    public static function forTenant(int $tenantId): ?array
    {
        return static::db()->fetch(
            'SELECT * FROM setup_states WHERE tenant_id = :tid',
            ['tid' => $tenantId]
        );
    }
}
