<?php

declare(strict_types=1);

namespace App\Services\SupportCenter;

use App\Enums\SupportCenter\HostSystemUpdateStepPhase;

/**
 * CLI 续跑：从既有执行任务恢复时的分步阶段快照。
 */
final readonly class HostSystemUpdateExecutionResumeState
{
    public function __construct(
        public HostSystemUpdateStepPhase $phase,
        public ?HostSystemUpdateMigrationProgress $migrationProgress = null,
        public bool $migratePhaseComplete = false,
        public ?HostSystemUpdateBatchProgress $batchProgress = null,
    ) {}
}
