/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\BuildingConstructionRequestDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Request DTO for alliance building construction operations
 * Last Edit Notes: Initial creation following established Alliance DTO patterns
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for alliance building construction operations
    /// </summary>
    public class BuildingConstructionRequestDto
    {
        /// <summary>
        /// Type of building to construct
        /// </summary>
        [Required]
        [StringLength(100)]
        public string BuildingType { get; set; } = string.Empty;

        /// <summary>
        /// Target level for construction
        /// </summary>
        [Required]
        [Range(1, 50)]
        public int TargetLevel { get; set; }

        /// <summary>
        /// Initial resource contribution
        /// </summary>
        public Dictionary<string, decimal> ResourceContribution { get; set; } = new();

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

        /// <summary>
        /// Whether to use alliance treasury funds
        /// </summary>
        public bool UseTreasuryFunds { get; set; } = false;

        /// <summary>
        /// Construction parameters and options
        /// </summary>
        public Dictionary<string, object>? ConstructionParameters { get; set; }
    }
}