/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Combat\InterceptionValidationRequestDto.cs
 * Created: 2025-10-23
 * Last Modified: 2025-10-23
 * Description: Request DTO for interception validation
 * Last Edit Notes: Individual file implementation for interception validation input
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Combat
{
    /// <summary>
    /// Request DTO for interception validation
    /// </summary>
    public class InterceptionValidationRequestDto
    {
        /// <summary>
        /// Target march or attack to intercept
        /// </summary>
        [Required]
        [Range(1, int.MaxValue)]
        public int TargetMarchId { get; set; }

        /// <summary>
        /// Proposed interception coordinates
        /// </summary>
        [Required]
        public Dictionary<string, decimal> InterceptionCoordinates { get; set; } = new();

        /// <summary>
        /// Troops to send for interception by type
        /// </summary>
        [Required]
        public Dictionary<string, long> TroopsToSend { get; set; } = new();

        /// <summary>
        /// Whether to include dragon in interception
        /// </summary>
        public bool IncludeDragon { get; set; } = false;

        /// <summary>
        /// Dragon skills to apply if dragon is included
        /// </summary>
        public List<string> DragonSkills { get; set; } = new();

        /// <summary>
        /// Preferred march speed (affects timing and costs)
        /// </summary>
        [Range(0.1, 2.0)]
        public decimal PreferredSpeed { get; set; } = 1.0m;

        /// <summary>
        /// Whether to use stealth/concealment if available
        /// </summary>
        public bool UseStealthMechanics { get; set; } = false;

        /// <summary>
        /// Additional interception parameters
        /// </summary>
        public Dictionary<string, object> InterceptionParameters { get; set; } = new();
    }
}