/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Alliance\AllianceUpdateRequestDto.cs
 * Created: 2025-10-22
 * Last Modified: 2025-10-22
 * Description: Request DTO for alliance update operations
 * Last Edit Notes: Initial implementation for alliance modification input validation
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for alliance update operations
    /// </summary>
    public class AllianceUpdateRequestDto
    {
        /// <summary>
        /// Updated alliance name
        /// </summary>
        [StringLength(100, MinimumLength = 3)]
        public string? AllianceName { get; set; }

        /// <summary>
        /// Updated alliance description
        /// </summary>
        [StringLength(500)]
        public string? Description { get; set; }

        /// <summary>
        /// Updated alliance tag/abbreviation
        /// </summary>
        [StringLength(10, MinimumLength = 2)]
        public string? AllianceTag { get; set; }

        /// <summary>
        /// Updated recruitment settings
        /// </summary>
        public Dictionary<string, object>? RecruitmentSettings { get; set; }

        /// <summary>
        /// Updated alliance configuration
        /// </summary>
        public Dictionary<string, object>? AllianceSettings { get; set; }

        /// <summary>
        /// Updated focus areas
        /// </summary>
        public List<string>? FocusAreas { get; set; }

        /// <summary>
        /// Updated leadership structure
        /// </summary>
        public Dictionary<string, object>? LeadershipStructure { get; set; }

        /// <summary>
        /// Updated member roles and permissions
        /// </summary>
        public Dictionary<string, object>? RolePermissions { get; set; }

        /// <summary>
        /// Reason for the update (for audit trail)
        /// </summary>
        [StringLength(200)]
        public string? UpdateReason { get; set; }
    }
}