/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Player\ExperienceProcessingRequestDto.cs
 * Created: 2025-10-19
 * Last Modified: 2025-10-19
 * Description: Request DTO for experience processing operations
 * Last Edit Notes: Fixed Range attribute to use double instead of decimal.MaxValue
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Player
{
    /// <summary>
    /// Request DTO for experience processing operations
    /// </summary>
    public class ExperienceProcessingRequestDto
    {
        /// <summary>
        /// Type of experience gain
        /// </summary>
        [Required]
        [StringLength(50)]
        public string ExperienceType { get; set; } = string.Empty;

        /// <summary>
        /// Amount of experience to process
        /// </summary>
        [Range(0.0, double.MaxValue)]
        public decimal ExperienceAmount { get; set; }

        /// <summary>
        /// Source of the experience
        /// </summary>
        [StringLength(100)]
        public string? Source { get; set; }

        /// <summary>
        /// Additional context for experience processing
        /// </summary>
        public Dictionary<string, object>? Context { get; set; }
    }
}