/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\HostSelectionRequestDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Request DTO for KvK host selection and democratic voting
 * Last Edit Notes: Initial creation following established Alliance DTO patterns
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for KvK host selection and democratic voting
    /// </summary>
    public class HostSelectionRequestDto
    {
        /// <summary>
        /// KvK event to select host for
        /// </summary>
        [Required]
        public int KvKEventId { get; set; }

        /// <summary>
        /// Action to take (Nominate, Vote, Withdraw, Challenge)
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Action { get; set; } = string.Empty;

        /// <summary>
        /// Alliance being nominated or voted for
        /// </summary>
        public int? TargetAllianceId { get; set; }

        /// <summary>
        /// Vote choice (for voting actions)
        /// </summary>
        public int? VoteChoice { get; set; }

        /// <summary>
        /// Justification for nomination or vote
        /// </summary>
        [StringLength(1000)]
        public string? Justification { get; set; }

        /// <summary>
        /// Coalition members supporting this action
        /// </summary>
        public List<int> CoalitionSupport { get; set; } = new();

        /// <summary>
        /// Qualifications being presented (for nominations)
        /// </summary>
        public Dictionary<string, object>? Qualifications { get; set; }

        /// <summary>
        /// Proposed leadership structure
        /// </summary>
        public Dictionary<string, object>? LeadershipStructure { get; set; }

        /// <summary>
        /// Selection parameters and preferences
        /// </summary>
        public Dictionary<string, object>? SelectionParameters { get; set; }
    }
}