/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\MemberRemovalRequestDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Request DTO for alliance member removal 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 member removal operations
    /// </summary>
    public class MemberRemovalRequestDto
    {
        /// <summary>
        /// Player to remove from alliance
        /// </summary>
        [Required]
        public int PlayerId { get; set; }

        /// <summary>
        /// Type of removal (Kick, Ban, Voluntary, Inactive, Disciplinary)
        /// </summary>
        [Required]
        [StringLength(50)]
        public string RemovalType { get; set; } = string.Empty;

        /// <summary>
        /// Reason for removal
        /// </summary>
        [Required]
        [StringLength(500)]
        public string RemovalReason { get; set; } = string.Empty;

        /// <summary>
        /// Whether to notify the player of removal
        /// </summary>
        public bool NotifyPlayer { get; set; } = true;

        /// <summary>
        /// Cooldown period before player can rejoin (hours)
        /// </summary>
        [Range(0, 8760)] // 0 to 1 year
        public int RejoinCooldownHours { get; set; } = 0;

        /// <summary>
        /// Whether to blacklist player from future applications
        /// </summary>
        public bool BlacklistPlayer { get; set; } = false;

        /// <summary>
        /// How to handle player's alliance assets
        /// </summary>
        [StringLength(50)]
        public string AssetHandling { get; set; } = "ReturnToPlayer";

        /// <summary>
        /// Additional removal parameters and conditions
        /// </summary>
        public Dictionary<string, object>? RemovalParameters { get; set; }
    }
}