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.Map;

/**
 * Q20航线任务 - 动作DTO
 *
 * @author 938693313@qq.com
 * @since 1.0.0 2026/5/20
 */
@Data
@Schema(description = "航点动作")
public class Q20RouteActionDTO {

    @Schema(description = "动作ID，范围[0,65535]")
    @JsonProperty("action_id")
    private int actionId;

    @Schema(description = "动作执行函数：takePhoto/startRecord/stopRecord/zoom/gimbalRotate/rotateYaw/hover")
    @JsonProperty("action_actuator_func")
    private String actionActuatorFunc;

    @Schema(description = "动作执行函数参数，参数结构因动作类型而异")
    @JsonProperty("action_actuator_func_param")
    private Map<String, Object> actionActuatorFuncParam;
}
