feat:添加无人船慢速行驶指令

This commit is contained in:
2026-04-20 16:02:41 +08:00
parent 4a5b42e8ad
commit d1d14a7d72
@@ -0,0 +1,25 @@
package com.central.device.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
/**
* 无人船慢速行驶DTO
*
* @author Codex
* @date 2026-04-20
*/
@Data
@Schema(description = "无人船慢速行驶请求")
public class BoatSlowlyDriveDTO {
@Schema(description = "任务编码(对应 order_no)", required = true, example = "562026040600002")
@NotBlank(message = "任务编码不能为空")
private String missionCode;
@Schema(description = "慢速行驶速度", required = true, example = "30")
@NotNull(message = "速度不能为空")
private Integer speed;
}