瀏覽代碼

mqtt修改

gao.qiang 10 月之前
父節點
當前提交
4571e43519
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      business-service/src/main/java/com/ozs/service/entity/vo/UpdateDeviceSn.java

+ 11 - 0
business-service/src/main/java/com/ozs/service/entity/vo/UpdateDeviceSn.java

@@ -1,6 +1,7 @@
 package com.ozs.service.entity.vo;
 
 
+import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;
 
 /**
@@ -13,4 +14,14 @@ public class UpdateDeviceSn {
     private String md5;
     private String url;
     private String sign;
+
+
+    @JsonProperty("Name")
+    public String getName() {
+        return Name;
+    }
+
+    public void setName(String name) {
+        Name = name;
+    }
 }