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

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Combat
{
    /// <summary>
    /// Request DTO for march initiation
    /// </summary>
    public class MarchInitiationRequestDto
    {
        /// <summary>
        /// Target destination coordinates
        /// </summary>
        [Required]
        public (int X, int Y) Destination { get; set; }

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

        /// <summary>
        /// March type (Attack, Rally, Reinforce, etc.)
        /// </summary>
        [Required]
        [StringLength(50)]
        public string MarchType { get; set; } = string.Empty;

        /// <summary>
        /// Dragon accompanying the march
        /// </summary>
        public Dictionary<string, object>? DragonDetails { get; set; }

        /// <summary>
        /// March priority and speed preferences
        /// </summary>
        public Dictionary<string, object>? MarchPreferences { get; set; }

        /// <summary>
        /// Target player ID (for attacks)
        /// </summary>
        public int? TargetPlayerId { get; set; }
    }
}