/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\TerritoryClaimRequestDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Request DTO for alliance territory claim operations
 * Last Edit Notes: Initial implementation for territory acquisition input validation
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for alliance territory claim operations
    /// </summary>
    public class TerritoryClaimRequestDto
    {
        /// <summary>
        /// Target territory coordinates for claiming
        /// </summary>
        [Required]
        public Dictionary<string, object> TargetCoordinates { get; set; } = new();

        /// <summary>
        /// Claim strategy and approach
        /// </summary>
        [Required]
        public string ClaimStrategy { get; set; } = string.Empty;

        /// <summary>
        /// Resource allocation for territory claim
        /// </summary>
        public Dictionary<string, long>? ResourceAllocation { get; set; }

        /// <summary>
        /// Military units assigned to claim operation
        /// </summary>
        public List<Dictionary<string, object>>? MilitaryAssignment { get; set; }

        /// <summary>
        /// Claim priority level
        /// </summary>
        [Range(1, 10)]
        public int ClaimPriority { get; set; } = 5;

        /// <summary>
        /// Expected claim duration
        /// </summary>
        public TimeSpan? ExpectedDuration { get; set; }

        /// <summary>
        /// Coalition coordination for claim
        /// </summary>
        public Dictionary<string, object>? CoalitionCoordination { get; set; }
    }
}