using System; using SQLite; namespace CounterDrone.Core.Models { /// 仿真报告 [Table("SimulationReport")] public class SimulationReport { [PrimaryKey] public string Id { get; set; } = Guid.NewGuid().ToString(); [Indexed] public string ScenarioId { get; set; } = string.Empty; public string ScenarioName { get; set; } = string.Empty; public string ScenarioNumber { get; set; } = string.Empty; public string CompletedAt { get; set; } = string.Empty; public int DroneCount { get; set; } public int UnitCount { get; set; } public int InterceptResult { get; set; } /// Markdown 文本(用于快速展示) public string Content { get; set; } = string.Empty; /// 结构化报告数据 JSON(用于 PDF 等格式重新渲染) public string? ReportDataJson { get; set; } } }