<?php

declare(strict_types=1);

/**
 * 本文件属于 DBErp 进销存系统。
 *
 * 版权所有 © 2026 北京珑大钜商科技有限公司。保留所有权利。
 *
 * 未经官方授权，不得删除、篡改或隐藏本文件中的版权声明、产品标识与来源信息。
 * 商业授权、官方更新与技术支持服务，请以珑大官方支持中心记录为准。
 *
 * @link https://support.loongdom.cn
 * @see  https://www.dberp.com.cn
 */

namespace App\Enums\SupportCenter;

enum HostSystemUpdateExecutionStep: string
{
    case Created = 'created';
    case Precheck = 'precheck';
    case Backup = 'backup';
    case MaintenanceDown = 'maintenance_down';
    case ExtractStaging = 'extract_staging';
    case VerifyStaging = 'verify_staging';
    case ReplaceFiles = 'replace_files';
    case ReplaceVendor = 'replace_vendor';
    case ResetRuntime = 'reset_runtime';
    case ClearBootstrapCache = 'clear_bootstrap_cache';
    case RuntimeReadiness = 'runtime_readiness';
    case RunMigrations = 'run_migrations';
    case ClearCache = 'clear_cache';
    case PostUpdateHealthCheck = 'post_update_health_check';
    case WriteVersion = 'write_version';
    case CommitVendorBackup = 'commit_vendor_backup';
    case MaintenanceUp = 'maintenance_up';
    case Completed = 'completed';
    case Failed = 'failed';
    case Rollback = 'rollback';
}
