package com.multictrl.modules.business.q20.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * Q20航线任务 - 航线文件夹DTO（包含所有航点）
 *
 * @author 938693313@qq.com
 * @since 1.0.0 2026/5/20
 */
@Data
@Schema(description = "航线文件夹，包含所有航点信息")
public class Q20RouteFolderDTO {

    @Schema(description = "全局飞行速度(m/s)，范围[1,15]")
    @JsonProperty("auto_flight_speed")
    private float autoFlightSpeed;

    @Schema(description = "执行高度模式：relativeToStartPoint（相对起飞点高度）/ WGS84（椭球高）")
    @JsonProperty("execute_height_mode")
    private String executeHeightMode;

    @Schema(description = "航点列表")
    private List<Q20RoutePlacemarkDTO> placemark;

    @Schema(description = "备降点列表")
    @JsonProperty("alternate_points")
    private List<Q20RouteAlternatePointDTO> alternatePoints;
}
