/* * 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 { /// /// Request DTO for march cancellation /// public class MarchCancellationRequestDto { /// /// ID of the march to cancel /// [Required] [Range(1, int.MaxValue)] public int MarchId { get; set; } /// /// Reason for cancellation /// [StringLength(200)] public string? CancellationReason { get; set; } /// /// Whether to apply early return penalties /// public bool AcceptPenalties { get; set; } = true; } }