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

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Alliance
{
    /// <summary>
    /// Request DTO for alliance creation operations
    /// </summary>
    public class AllianceCreationRequestDto
    {
        /// <summary>
        /// Name for the new alliance
        /// </summary>
        [Required]
        [StringLength(100, MinimumLength = 3)]
        public string AllianceName { get; set; } = string.Empty;

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

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

        /// <summary>
        /// Initial alliance settings and configuration
        /// </summary>
        public Dictionary<string, object>? InitialSettings { get; set; }

        /// <summary>
        /// Recruitment settings (open, invite-only, etc.)
        /// </summary>
        public Dictionary<string, object>? RecruitmentSettings { get; set; }

        /// <summary>
        /// Initial member invitations
        /// </summary>
        public List<int>? InitialInvitations { get; set; }

        /// <summary>
        /// Alliance focus areas (military, economic, diplomatic)
        /// </summary>
        public List<string>? FocusAreas { get; set; }
    }
}