<?php

declare(strict_types=1);

namespace App\Services\Install;

/**
 * 单次迁移批次执行结果。
 */
final readonly class WebInstallMigrationBatchResult
{
    /**
     * @param  list<string>  $executedMigrationNames
     */
    public function __construct(
        public bool $stageCompleted,
        public WebInstallMigrationProgress $progress,
        public array $executedMigrationNames = [],
    ) {}
}
