Browse Source

添加楼层建筑默认属性

lvxianyun 3 years ago
parent
commit
ce3b0424cb

+ 1 - 1
src/main/java/com/persagy/proxy/adm/model/AdmBuilding.java

@@ -38,5 +38,5 @@ public class AdmBuilding extends AdmSBaseEntity<AdmBuilding>{
     private List<AdmFloor> floor;
 
     /** 建筑类型code */
-    private String classCode;
+    private String classCode = OBJ_TYPE;
 }

+ 1 - 1
src/main/java/com/persagy/proxy/adm/model/AdmFloor.java

@@ -71,7 +71,7 @@ public class AdmFloor extends AdmSBaseEntity<AdmFloor>{
     /** 对象类型 */
     private String objectType = OBJ_TYPE;
     /** 楼层类型code */
-    private String classCode;
+    private String classCode = OBJ_TYPE;
 
 
     /** 空间列表 非中台信息*/

+ 1 - 1
src/main/java/com/persagy/proxy/adm/model/AdmProperty.java

@@ -54,7 +54,7 @@ public class AdmProperty {
     /** 信息点 */
     private Map<String, Object> infos;
     /** 对象类型 */
-    private String objectType;
+    private String objectType = OBJ_TYPE;
     /** 位置信息 */
     private String position;
     /** 贴码状态 */