/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Purchase\PurchaseValidationResponseDto.cs
 * Created: 2025-10-19
 * Last Modified: 2025-10-19
 * Description: Response DTO for purchase validation results
 * Last Edit Notes: Individual file implementation for purchase validation and fraud detection results
 */

namespace ShadowedRealms.Shared.DTOs.Purchase
{
    /// <summary>
    /// Response DTO for purchase validation results
    /// </summary>
    public class PurchaseValidationResponseDto
    {
        /// <summary>
        /// Whether the purchase is valid and approved
        /// </summary>
        public bool IsValid { get; set; }

        /// <summary>
        /// Player making the purchase
        /// </summary>
        public int PlayerId { get; set; }

        /// <summary>
        /// Detailed validation results
        /// </summary>
        public Dictionary<string, object> ValidationResults { get; set; } = new();

        /// <summary>
        /// Any warnings about the purchase
        /// </summary>
        public List<string> Warnings { get; set; } = new();

        /// <summary>
        /// Fraud risk assessment
        /// </summary>
        public Dictionary<string, object> FraudRisk { get; set; } = new();

        /// <summary>
        /// When validation was performed
        /// </summary>
        public DateTime ValidationTime { get; set; }
    }
}