namespace MigrationTool; /// /// 迁移工具命令行选项 /// public class MigrationOptions { /// /// 数据库连接字符串 /// public string ConnectionString { get; set; } = string.Empty; /// /// 输出目录 /// public string OutputDir { get; set; } = "./output"; /// /// 是否 Dry-Run 模式(只输出不写入文件) /// public bool DryRun { get; set; } /// /// 默认路由 Host /// public string DefaultHost { get; set; } = "api.fengling.com"; /// /// 服务端口 /// public int ServicePort { get; set; } = 80; /// /// 目标端口 /// public int TargetPort { get; set; } = 8080; /// /// 是否验证数据完整性 /// public bool Validate { get; set; } = true; /// /// 仅处理指定租户 /// public string? TenantCode { get; set; } /// /// 日志级别 /// public LogLevel LogLevel { get; set; } = LogLevel.Information; /// /// 是否生成报告文件 /// public bool GenerateReport { get; set; } = true; /// /// 报告文件路径 /// public string? ReportPath { get; set; } }