using System;
using SQLite;

namespace CounterDrone.Core.Models
{
    /// <summary>步骤2：目标配置</summary>
    [Table("TargetConfig")]
    public class TargetConfig
    {
        [PrimaryKey]
        public string Id { get; set; } = Guid.NewGuid().ToString();

        [Indexed]
        public string TaskId { get; set; } = string.Empty;

        public string GroupId { 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;
    }
}
