using System; using SQLite; namespace CounterDrone.Core.Models { /// 步骤2:目标配置 [Table("TargetConfig")] public class TargetConfig { [PrimaryKey] public string Id { get; set; } = Guid.NewGuid().ToString(); [Indexed] public string TaskId { get; set; } = string.Empty; public string WaveId { get; set; } = string.Empty; public int TargetType { get; set; } = (int)Models.TargetType.Rotor; public int Quantity { get; set; } = 1; public int PowerType { get; set; } = (int)Models.PowerType.Electric; public double Wingspan { get; set; } = 1.2; public double TypicalSpeed { get; set; } = 60.0; public double TypicalAltitude { get; set; } = 300.0; } }