/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Player\CastleUpgradeResponseDto.cs
 * Created: 2025-10-19
 * Last Modified: 2025-10-19
 * Description: Response DTO for castle upgrade operations
 * Last Edit Notes: Individual file implementation for castle upgrade results
 */

namespace ShadowedRealms.Shared.DTOs.Player
{
    /// <summary>
    /// Response DTO for castle upgrade operations
    /// </summary>
    public class CastleUpgradeResponseDto
    {
        /// <summary>
        /// Player ID who performed the upgrade
        /// </summary>
        public int PlayerId { get; set; }

        /// <summary>
        /// Whether the upgrade was successful
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// New castle level after upgrade
        /// </summary>
        public int NewCastleLevel { get; set; }

        /// <summary>
        /// Benefits granted from the upgrade
        /// </summary>
        public Dictionary<string, object> BenefitsGranted { get; set; } = new();

        /// <summary>
        /// When the upgrade was completed
        /// </summary>
        public DateTime UpgradeTime { get; set; }

        /// <summary>
        /// Resources consumed in the upgrade
        /// </summary>
        public Dictionary<string, decimal> ResourcesConsumed { get; set; } = new();
    }
}