From d1d14a7d72ec37cca14ef11d18060cc955aba8f3 Mon Sep 17 00:00:00 2001 From: duzhichao <1098974448@qq.com> Date: Mon, 20 Apr 2026 16:02:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E6=97=A0=E4=BA=BA?= =?UTF-8?q?=E8=88=B9=E6=85=A2=E9=80=9F=E8=A1=8C=E9=A9=B6=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/model/dto/BoatSlowlyDriveDTO.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 zlt-business/device-center/src/main/java/com/central/device/model/dto/BoatSlowlyDriveDTO.java diff --git a/zlt-business/device-center/src/main/java/com/central/device/model/dto/BoatSlowlyDriveDTO.java b/zlt-business/device-center/src/main/java/com/central/device/model/dto/BoatSlowlyDriveDTO.java new file mode 100644 index 00000000..868c0658 --- /dev/null +++ b/zlt-business/device-center/src/main/java/com/central/device/model/dto/BoatSlowlyDriveDTO.java @@ -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; +}