/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\MembershipProcessingRequestDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Request DTO for alliance membership processing operations
 * Last Edit Notes: Initial creation following established Alliance DTO patterns
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for alliance membership processing operations
    /// </summary>
    public class MembershipProcessingRequestDto
    {
        /// <summary>
        /// Alliance to apply to (for applications)
        /// </summary>
        public int? AllianceId { get; set; }

        /// <summary>
        /// Processing action (Apply, Review, Approve, Reject, Withdraw)
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Action { get; set; } = string.Empty;

        /// <summary>
        /// Application ID (for review actions)
        /// </summary>
        public int? ApplicationId { get; set; }

        /// <summary>
        /// Player being processed (for officer actions)
        /// </summary>
        public int? PlayerId { get; set; }

        /// <summary>
        /// Application message from player
        /// </summary>
        [StringLength(1000)]
        public string? ApplicationMessage { get; set; }

        /// <summary>
        /// Review decision (for officer reviews)
        /// </summary>
        [StringLength(50)]
        public string? ReviewDecision { get; set; }

        /// <summary>
        /// Review comments from officer
        /// </summary>
        [StringLength(500)]
        public string? ReviewComments { get; set; }

        /// <summary>
        /// Priority level for processing (1-5)
        /// </summary>
        [Range(1, 5)]
        public int Priority { get; set; } = 3;

        /// <summary>
        /// Processing parameters and special conditions
        /// </summary>
        public Dictionary<string, object>? ProcessingParameters { get; set; }
    }
}