mac
2023-12-21 78dbac2e8e7ad58d9e5d6a025de0d6fc58f69146
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;
    }
}