feat:添加无人船慢速行驶指令
This commit is contained in:
+25
@@ -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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user