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

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for research advancement
    /// </summary>
    public class ResearchAdvancementRequestDto
    {
        /// <summary>
        /// Research tree branch (Military, Economic, Technology)
        /// </summary>
        [Required]
        [StringLength(50)]
        public string ResearchBranch { get; set; } = string.Empty;

        /// <summary>
        /// Specific research item to advance
        /// </summary>
        [Required]
        [StringLength(100)]
        public string ResearchItem { get; set; } = string.Empty;

        /// <summary>
        /// Resource allocation for research
        /// </summary>
        [Required]
        public Dictionary<string, decimal> ResourceAllocation { get; set; } = new();

        /// <summary>
        /// Priority level for research
        /// </summary>
        [Range(1, 5)]
        public int Priority { get; set; } = 3;
    }
}