Commit 8043ce612fd9e2429c7a1d67efbf630fbd98f5ce

Authored by 安浩浩
1 parent ca957522

【功能新增】IoT: 添加 IoT 设备 MQTT 连接参数响应 VO,包含客户端 ID、用户名和密码字段

yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/device/vo/device/IotDeviceMqttConnectionParamsRespVO.java 0 → 100644
  1 +package cn.iocoder.yudao.module.iot.controller.admin.device.vo.device;
  2 +
  3 +import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
  4 +import com.alibaba.excel.annotation.ExcelProperty;
  5 +import io.swagger.v3.oas.annotations.media.Schema;
  6 +import lombok.Data;
  7 +
  8 +@Schema(description = "管理后台 - IoT 设备 MQTT 连接参数 Response VO")
  9 +@Data
  10 +@ExcelIgnoreUnannotated
  11 +public class IotDeviceMqttConnectionParamsRespVO {
  12 +
  13 + @Schema(description = "MQTT 客户端 ID", example = "24602")
  14 + @ExcelProperty("MQTT 客户端 ID")
  15 + private String mqttClientId;
  16 +
  17 + @Schema(description = "MQTT 用户名", example = "芋艿")
  18 + @ExcelProperty("MQTT 用户名")
  19 + private String mqttUsername;
  20 +
  21 + @Schema(description = "MQTT 密码")
  22 + @ExcelProperty("MQTT 密码")
  23 + private String mqttPassword;
  24 +
  25 +}
0 \ No newline at end of file 26 \ No newline at end of file