/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\CoalitionFormationResponseDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Response DTO for coalition formation operations
 * Last Edit Notes: Initial implementation for multi-alliance coalition creation results
 */

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Response DTO for coalition formation operations
    /// </summary>
    public class CoalitionFormationResponseDto
    {
        /// <summary>
        /// Newly formed coalition identifier
        /// </summary>
        public string CoalitionId { get; set; } = string.Empty;

        /// <summary>
        /// Coalition name that was created
        /// </summary>
        public string CoalitionName { get; set; } = string.Empty;

        /// <summary>
        /// Success status of coalition formation
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// Formation result message
        /// </summary>
        public string Message { get; set; } = string.Empty;

        /// <summary>
        /// Member alliances that joined the coalition
        /// </summary>
        public List<Dictionary<string, object>> MemberAlliances { get; set; } = new();

        /// <summary>
        /// Coalition leadership structure
        /// </summary>
        public Dictionary<string, object> LeadershipStructure { get; set; } = new();

        /// <summary>
        /// Coalition objectives and purpose
        /// </summary>
        public Dictionary<string, object> CoalitionObjectives { get; set; } = new();

        /// <summary>
        /// Shared resources and coordination settings
        /// </summary>
        public Dictionary<string, object> CoordinationSettings { get; set; } = new();

        /// <summary>
        /// Coalition formation timestamp
        /// </summary>
        public DateTime FormedAt { get; set; }

        /// <summary>
        /// Alliance that initiated the coalition
        /// </summary>
        public int InitiatingAllianceId { get; set; }

        /// <summary>
        /// Expected coalition duration or permanence
        /// </summary>
        public Dictionary<string, object> Duration { get; set; } = new();
    }
}