/*
 * File: D:\shadowed-realms-mobile\ShadowedRealmsMobile\src\server\ShadowedRealms.Shared\DTOs\Combat\MarchCancellationRequestDto.cs
 * Created: 2025-10-19
 * Last Modified: 2025-10-19
 * Description: Request DTO for march cancellation
 * Last Edit Notes: Individual file implementation for march cancellation input validation
 */

using System.ComponentModel.DataAnnotations;

namespace ShadowedRealms.Shared.DTOs.Combat
{
    /// <summary>
    /// Request DTO for march cancellation
    /// </summary>
    public class MarchCancellationRequestDto
    {
        /// <summary>
        /// ID of the march to cancel
        /// </summary>
        [Required]
        [Range(1, int.MaxValue)]
        public int MarchId { get; set; }

        /// <summary>
        /// Reason for cancellation
        /// </summary>
        [StringLength(200)]
        public string? CancellationReason { get; set; }

        /// <summary>
        /// Whether to apply early return penalties
        /// </summary>
        public bool AcceptPenalties { get; set; } = true;
    }
}