app/src/main/java/com/hdl/photovoltaic/ui/bean/HouseInfoBean.java
@@ -117,6 +117,7 @@ this.zoneType = zoneType; } public static class Location { private String nationCode;//国家编码 private String nationName;//国家名称 @@ -174,4 +175,17 @@ } } /** * 拼住宅地址 * * @return 住宅地址 */ public String getHomeAddress() { if (this.location == null) { return this.address; } return this.location.nationName + this.location.provinceName + this.location.cityName + this.address; } }