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

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Combat
{
    /// <summary>
    /// Request DTO for field interception execution
    /// </summary>
    public class FieldInterceptionRequestDto
    {
        /// <summary>
        /// Player being intercepted
        /// </summary>
        [Required]
        [Range(1, int.MaxValue)]
        public int AttackingPlayerId { get; set; }

        /// <summary>
        /// Interception point coordinates
        /// </summary>
        [Required]
        public (int X, int Y) InterceptionPoint { get; set; }

        /// <summary>
        /// Troops being deployed for interception
        /// </summary>
        [Required]
        public Dictionary<string, int> DefenderTroops { get; set; } = new();

        /// <summary>
        /// Dragon deployment for interception
        /// </summary>
        public Dictionary<string, object>? DragonDeployment { get; set; }

        /// <summary>
        /// Tactical preferences for the interception
        /// </summary>
        public Dictionary<string, string>? TacticalPreferences { get; set; }
    }
}