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

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Response DTO for coalition dissolution operations
    /// </summary>
    public class CoalitionDissolutionResponseDto
    {
        /// <summary>
        /// Coalition identifier that was dissolved
        /// </summary>
        public string CoalitionId { get; set; } = string.Empty;

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

        /// <summary>
        /// Success status of dissolution operation
        /// </summary>
        public bool Success { get; set; }

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

        /// <summary>
        /// Final member alliances that were part of the coalition
        /// </summary>
        public List<Dictionary<string, object>> FormerMemberAlliances { get; set; } = new();

        /// <summary>
        /// Resource distribution results after dissolution
        /// </summary>
        public Dictionary<string, object> ResourceDistribution { get; set; } = new();

        /// <summary>
        /// Final coalition statistics and achievements
        /// </summary>
        public Dictionary<string, object> FinalStatistics { get; set; } = new();

        /// <summary>
        /// Dissolution timestamp
        /// </summary>
        public DateTime DissolvedAt { get; set; }

        /// <summary>
        /// Player who initiated the dissolution
        /// </summary>
        public int DissolvedById { get; set; }

        /// <summary>
        /// Reason for dissolution
        /// </summary>
        public string DissolutionReason { get; set; } = string.Empty;

        /// <summary>
        /// Alliance statuses after coalition dissolution
        /// </summary>
        public List<Dictionary<string, object>> PostDissolutionStatus { get; set; } = new();

        /// <summary>
        /// Any cleanup actions performed during dissolution
        /// </summary>
        public List<string> CleanupActions { get; set; } = new();
    }
}