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; +}