From 1904cb16c2a0a2495cbdcace623065304db1bc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Wed, 28 Feb 2018 10:23:04 +0800 Subject: [PATCH] add document --- .../job/youfang/document/ChangeHouseDto.java | 101 +++++++ .../youfang/document/DistrictBaseInfoDto.java | 94 +++++++ .../job/youfang/document/DistrictDetail.java | 26 ++ .../job/youfang/document/DistrictDto.java | 256 ++++++++++++++++++ .../youfang/document/DistrictEvaluateDto.java | 156 +++++++++++ .../job/youfang/document/DistrictStatDto.java | 199 ++++++++++++++ 6 files changed, 832 insertions(+) create mode 100644 fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/ChangeHouseDto.java create mode 100644 fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictBaseInfoDto.java create mode 100644 fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDto.java create mode 100644 fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictEvaluateDto.java create mode 100644 fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictStatDto.java diff --git a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/ChangeHouseDto.java b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/ChangeHouseDto.java new file mode 100644 index 0000000..729b61b --- /dev/null +++ b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/ChangeHouseDto.java @@ -0,0 +1,101 @@ +package com.fangjia.job.youfang.document; + +import java.util.List; + +public class ChangeHouseDto { + + private List poiTags; + private int purpose; + private String city; + private String region; + private String name; + private List areaTags; + private int poiSize; + private double lat; + private double lng; + private int avgPrice; + private String address; + private Integer index;//小区潜力指数 + private Double rentRate;//租房回报率 + + public List getPoiTags() { + return poiTags; + } + public void setPoiTags(List poiTags) { + this.poiTags = poiTags; + } + public int getPurpose() { + return purpose; + } + public void setPurpose(int purpose) { + this.purpose = purpose; + } + public String getCity() { + return city; + } + public void setCity(String city) { + this.city = city; + } + public String getRegion() { + return region; + } + public void setRegion(String region) { + this.region = region; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public int getPoiSize() { + return poiSize; + } + public void setPoiSize(int poiSize) { + this.poiSize = poiSize; + } + public List getAreaTags() { + return areaTags; + } + public void setAreaTags(List areaTags) { + this.areaTags = areaTags; + } + public double getLat() { + return lat; + } + public void setLat(double lat) { + this.lat = lat; + } + public double getLng() { + return lng; + } + public void setLng(double lng) { + this.lng = lng; + } + public int getAvgPrice() { + return avgPrice; + } + public void setAvgPrice(int avgPrice) { + this.avgPrice = avgPrice; + } + public String getAddress() { + return address; + } + public void setAddress(String address) { + this.address = address; + } + public Integer getIndex() { + return index; + } + public void setIndex(Integer index) { + this.index = index; + } + public Double getRentRate() { + return rentRate; + } + public void setRentRate(Double rentRate) { + this.rentRate = rentRate; + } + + +} diff --git a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictBaseInfoDto.java b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictBaseInfoDto.java new file mode 100644 index 0000000..dcae2d8 --- /dev/null +++ b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictBaseInfoDto.java @@ -0,0 +1,94 @@ +package com.fangjia.job.youfang.document; + +import java.util.List; + + +public class DistrictBaseInfoDto { + + private DistrictDto district; + + private Integer curAvgPrice; + + private String moreArea; + + private Integer lastWeekendMarkup; + + private Integer topMonthAvgPrice; + + + private Double oneYearUpDownRange; + + + private Double upDownRangecityLevel; + + + private List districtDtos; + + + public Integer getCurAvgPrice() { + return curAvgPrice; + } + + public void setCurAvgPrice(Integer curAvgPrice) { + this.curAvgPrice = curAvgPrice; + } + + public Integer getLastWeekendMarkup() { + return lastWeekendMarkup; + } + + public void setLastWeekendMarkup(Integer lastWeekendMarkup) { + this.lastWeekendMarkup = lastWeekendMarkup; + } + + public Integer getTopMonthAvgPrice() { + return topMonthAvgPrice; + } + + public void setTopMonthAvgPrice(Integer topMonthAvgPrice) { + this.topMonthAvgPrice = topMonthAvgPrice; + } + + public Double getOneYearUpDownRange() { + return oneYearUpDownRange; + } + + public void setOneYearUpDownRange(Double oneYearUpDownRange) { + this.oneYearUpDownRange = oneYearUpDownRange; + } + + public Double getUpDownRangecityLevel() { + return upDownRangecityLevel; + } + + public void setUpDownRangecityLevel(Double upDownRangecityLevel) { + this.upDownRangecityLevel = upDownRangecityLevel; + } + + public DistrictDto getDistrict() { + return district; + } + + public void setDistrict(DistrictDto district) { + this.district = district; + } + + public String getMoreArea() { + return moreArea; + } + + public void setMoreArea(String moreArea) { + this.moreArea = moreArea; + } + + public List getDistrictDtos() { + return districtDtos; + } + + public void setDistrictDtos(List districtDtos) { + this.districtDtos = districtDtos; + } + + + +} diff --git a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDetail.java b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDetail.java index 119340b..b0440af 100644 --- a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDetail.java +++ b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDetail.java @@ -32,6 +32,32 @@ public class DistrictDetail { */ private AgencyInfo agencyInfo; + /** + * 小区综合信息(标签等) + */ + private DistrictEvaluateDto districtNewPriceInfo; + + /** + * 小区基础信息 + */ + private DistrictBaseInfoDto districtBaseInfo; + + public DistrictBaseInfoDto getDistrictBaseInfo() { + return districtBaseInfo; + } + + public void setDistrictBaseInfo(DistrictBaseInfoDto districtBaseInfo) { + this.districtBaseInfo = districtBaseInfo; + } + + public DistrictEvaluateDto getDistrictNewPriceInfo() { + return districtNewPriceInfo; + } + + public void setDistrictNewPriceInfo(DistrictEvaluateDto districtNewPriceInfo) { + this.districtNewPriceInfo = districtNewPriceInfo; + } + public String getId() { return id; } diff --git a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDto.java b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDto.java new file mode 100644 index 0000000..5414aba --- /dev/null +++ b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictDto.java @@ -0,0 +1,256 @@ +package com.fangjia.job.youfang.document; + +import java.util.List; + +public class DistrictDto { + private String city; + private String district; + private String name; + private String address; + private String estateType; + private List alias; + private double credit; + private boolean exists; + + //均价 + private int avgPrice; + + //总价 + private int totalPrice; + + //资产等级 + private double levelRate; + + //一年前房屋均价 + private int oneYearAvgPrice; + + //一年前房屋均价 + private int oneMonthAvgPrice; + + //经度 + private double lng2; + + //纬度 + private double lat2; + + //小区标签 + private String tag; + + //流动性评级得分 + private double totalScore; + + //城市相对最低价 + private int cityDistrictMinSellPrice; + + //城市相对最高价 + private int cityDistrictMaxSellPrice; + + //涨跌幅城市中的排名 + private double upDownRangecityLevel; + + //价格城市中的排名 + private double priceRate; + + + private String developer;//开发商 + private String estateCompany;//物业公司 + private String cubagePercent;//容积率 + private String virescencePercent;//绿化率 + private String estateCharge;// 物业费 + private String buildDate;//创建时间 + private Integer carSiteCount;//停车位 + private Integer householdCount;//总户数 + private String finishBuildingDate;//竣工时间 + + private Integer distance; + + public String getAddress() { + return address; + } + public void setAddress(String address) { + this.address = address; + } + public String getCity() { + return city; + } + public void setCity(String city) { + this.city = city; + } + public String getDistrict() { + return district; + } + public void setDistrict(String district) { + this.district = district; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public List getAlias() { + return alias; + } + public void setAlias(List alias) { + this.alias = alias; + } + public double getCredit() { + return credit; + } + public void setCredit(double credit) { + this.credit = credit; + } + public boolean isExists() { + return exists; + } + public void setExists(boolean exists) { + this.exists = exists; + } + public int getAvgPrice() { + return avgPrice; + } + public void setAvgPrice(int avgPrice) { + this.avgPrice = avgPrice; + } + public int getTotalPrice() { + return totalPrice; + } + public void setTotalPrice(int totalPrice) { + this.totalPrice = totalPrice; + } + public double getLevelRate() { + return levelRate; + } + public void setLevelRate(double levelRate) { + this.levelRate = levelRate; + } + public int getOneYearAvgPrice() { + return oneYearAvgPrice; + } + public void setOneYearAvgPrice(int oneYearAvgPrice) { + this.oneYearAvgPrice = oneYearAvgPrice; + } + public double getLat2() { + return lat2; + } + public void setLat2(double lat2) { + this.lat2 = lat2; + } + public double getLng2() { + return lng2; + } + public void setLng2(double lng2) { + this.lng2 = lng2; + } + public String getTag() { + return tag; + } + public void setTag(String tag) { + this.tag = tag; + } + public String getEstateType() { + return estateType; + } + public void setEstateType(String estateType) { + this.estateType = estateType; + } + public double getTotalScore() { + return totalScore; + } + public void setTotalScore(double totalScore) { + this.totalScore = totalScore; + } + public int getCityDistrictMinSellPrice() { + return cityDistrictMinSellPrice; + } + public void setCityDistrictMinSellPrice(int cityDistrictMinSellPrice) { + this.cityDistrictMinSellPrice = cityDistrictMinSellPrice; + } + public int getCityDistrictMaxSellPrice() { + return cityDistrictMaxSellPrice; + } + public void setCityDistrictMaxSellPrice(int cityDistrictMaxSellPrice) { + this.cityDistrictMaxSellPrice = cityDistrictMaxSellPrice; + } + public double getUpDownRangecityLevel() { + return upDownRangecityLevel; + } + public void setUpDownRangecityLevel(double upDownRangecityLevel) { + this.upDownRangecityLevel = upDownRangecityLevel; + } + public double getPriceRate() { + return priceRate; + } + public void setPriceRate(double priceRate) { + this.priceRate = priceRate; + } + public String getDeveloper() { + return developer; + } + public void setDeveloper(String developer) { + this.developer = developer; + } + public String getEstateCompany() { + return estateCompany; + } + public void setEstateCompany(String estateCompany) { + this.estateCompany = estateCompany; + } + public String getCubagePercent() { + return cubagePercent; + } + public void setCubagePercent(String cubagePercent) { + this.cubagePercent = cubagePercent; + } + public String getVirescencePercent() { + return virescencePercent; + } + public void setVirescencePercent(String virescencePercent) { + this.virescencePercent = virescencePercent; + } + public String getEstateCharge() { + return estateCharge; + } + public void setEstateCharge(String estateCharge) { + this.estateCharge = estateCharge; + } + public String getBuildDate() { + return buildDate; + } + public void setBuildDate(String buildDate) { + this.buildDate = buildDate; + } + public Integer getCarSiteCount() { + return carSiteCount; + } + public void setCarSiteCount(Integer carSiteCount) { + this.carSiteCount = carSiteCount; + } + public Integer getHouseholdCount() { + return householdCount; + } + public void setHouseholdCount(Integer householdCount) { + this.householdCount = householdCount; + } + public Integer getDistance() { + return distance; + } + public void setDistance(Integer distance) { + this.distance = distance; + } + public String getFinishBuildingDate() { + return finishBuildingDate; + } + public void setFinishBuildingDate(String finishBuildingDate) { + this.finishBuildingDate = finishBuildingDate; + } + public int getOneMonthAvgPrice() { + return oneMonthAvgPrice; + } + public void setOneMonthAvgPrice(int oneMonthAvgPrice) { + this.oneMonthAvgPrice = oneMonthAvgPrice; + } + + + +} diff --git a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictEvaluateDto.java b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictEvaluateDto.java new file mode 100644 index 0000000..1b88896 --- /dev/null +++ b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictEvaluateDto.java @@ -0,0 +1,156 @@ +package com.fangjia.job.youfang.document; + +import java.util.List; +import java.util.Map; + +/** + * 房生活小区估价查询 + * @author Administrator + * + */ +public class DistrictEvaluateDto { + + /** + * 涨跌幅在城市中的排名 + */ + private double upDownRangecityLevel; + + /** + * 相对最高价 + */ + private int cityDistrictMaxSellPrice; + + /** + * 相对最低价 + */ + private int cityDistrictMinSellPrice; + + /** + * 价格在城市中的排名 + */ + private double priceRate; + + /** + * 均价 + */ + private int avgPrice; + + /** + * 城市均价走势 + */ + private Map cityAvgZouShi; + + /** + * 区域均价走势 + */ + private Map regionAvgZouShi; + + /** + * 小区均价走势 + */ + private Map districtAvgZouShi; + + /** + * 城市均价相近 + */ + private List cityAroundList; + + /** + * 区域价格相近小区 + */ + private List regionAroundList; + + /** + * 以房换房相近小区 + */ + private List tagList; + + private ChangeHouseDto tagBo; + + /** + * 以房换房相近小区总数量 + */ + private long count; + + public int getAvgPrice() { + return avgPrice; + } + public void setAvgPrice(int avgPrice) { + this.avgPrice = avgPrice; + } + public double getUpDownRangecityLevel() { + return upDownRangecityLevel; + } + public void setUpDownRangecityLevel(double upDownRangecityLevel) { + this.upDownRangecityLevel = upDownRangecityLevel; + } + public int getCityDistrictMaxSellPrice() { + return cityDistrictMaxSellPrice; + } + public void setCityDistrictMaxSellPrice(int cityDistrictMaxSellPrice) { + this.cityDistrictMaxSellPrice = cityDistrictMaxSellPrice; + } + public int getCityDistrictMinSellPrice() { + return cityDistrictMinSellPrice; + } + public void setCityDistrictMinSellPrice(int cityDistrictMinSellPrice) { + this.cityDistrictMinSellPrice = cityDistrictMinSellPrice; + } + public double getPriceRate() { + return priceRate; + } + public void setPriceRate(double priceRate) { + this.priceRate = priceRate; + } + public Map getCityAvgZouShi() { + return cityAvgZouShi; + } + public void setCityAvgZouShi(Map cityAvgZouShi) { + this.cityAvgZouShi = cityAvgZouShi; + } + public Map getRegionAvgZouShi() { + return regionAvgZouShi; + } + public void setRegionAvgZouShi(Map regionAvgZouShi) { + this.regionAvgZouShi = regionAvgZouShi; + } + public Map getDistrictAvgZouShi() { + return districtAvgZouShi; + } + public void setDistrictAvgZouShi(Map districtAvgZouShi) { + this.districtAvgZouShi = districtAvgZouShi; + } + public List getCityAroundList() { + return cityAroundList; + } + public void setCityAroundList(List cityAroundList) { + this.cityAroundList = cityAroundList; + } + public List getRegionAroundList() { + return regionAroundList; + } + public void setRegionAroundList(List regionAroundList) { + this.regionAroundList = regionAroundList; + } + public List getTagList() { + return tagList; + } + public void setTagList(List tagList) { + this.tagList = tagList; + } + public long getCount() { + return count; + } + public void setCount(long count) { + this.count = count; + } + public ChangeHouseDto getTagBo() { + return tagBo; + } + public void setTagBo(ChangeHouseDto tagBo) { + this.tagBo = tagBo; + } + + + +} diff --git a/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictStatDto.java b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictStatDto.java new file mode 100644 index 0000000..4a04d0a --- /dev/null +++ b/fangjia-job/fangjia-job-youfang/src/main/java/com/fangjia/job/youfang/document/DistrictStatDto.java @@ -0,0 +1,199 @@ +package com.fangjia.job.youfang.document; + +import java.util.Date; +import java.util.List; +import java.util.Map; + +public class DistrictStatDto { + private String id; + /** + * 小区名 + */ + private String districtName; + + /** + * 城市 + */ + private String city; + + /** + * 地址 + */ + private String address; + + /** + * 区域 + */ + private String region; + + /** + * 板块 + */ + private String block; + private String estateType; + private double credit; + private Integer valueType; + private Date weekend; + private int avgPrice; + private int markup; + private int weekendMarkup; + private int changedMarkup; + private int calcValue; + private int sampleSize; + /********来源于DistrictTag*******/ + private List poiTags; //小区地图标签 + private Integer purpose; //小区用途 + private List areaTags;//编辑标签 + private Integer poiSize; //地图标签大小 + + private Map avgArea; + + private Integer index; //潜力指数 + + private double rentRate;//租售比 + private double distance;//距离 + public String getId() { + return id; + } + public void setId(String id) { + this.id = id; + } + public String getDistrictName() { + return districtName; + } + public void setDistrictName(String districtName) { + this.districtName = districtName; + } + public String getCity() { + return city; + } + public void setCity(String city) { + this.city = city; + } + public String getRegion() { + return region; + } + public void setRegion(String region) { + this.region = region; + } + public String getBlock() { + return block; + } + public void setBlock(String block) { + this.block = block; + } + public String getEstateType() { + return estateType; + } + public void setEstateType(String estateType) { + this.estateType = estateType; + } + public double getCredit() { + return credit; + } + public void setCredit(double credit) { + this.credit = credit; + } + public Integer getValueType() { + return valueType; + } + public void setValueType(Integer valueType) { + this.valueType = valueType; + } + public Date getWeekend() { + return weekend; + } + public void setWeekend(Date weekend) { + this.weekend = weekend; + } + public int getAvgPrice() { + return avgPrice; + } + public void setAvgPrice(int avgPrice) { + this.avgPrice = avgPrice; + } + public int getMarkup() { + return markup; + } + public void setMarkup(int markup) { + this.markup = markup; + } + public int getWeekendMarkup() { + return weekendMarkup; + } + public void setWeekendMarkup(int weekendMarkup) { + this.weekendMarkup = weekendMarkup; + } + public int getChangedMarkup() { + return changedMarkup; + } + public void setChangedMarkup(int changedMarkup) { + this.changedMarkup = changedMarkup; + } + public int getCalcValue() { + return calcValue; + } + public void setCalcValue(int calcValue) { + this.calcValue = calcValue; + } + public int getSampleSize() { + return sampleSize; + } + public void setSampleSize(int sampleSize) { + this.sampleSize = sampleSize; + } + public List getPoiTags() { + return poiTags; + } + public void setPoiTags(List poiTags) { + this.poiTags = poiTags; + } + public Integer getPurpose() { + return purpose; + } + public void setPurpose(Integer purpose) { + this.purpose = purpose; + } + public List getAreaTags() { + return areaTags; + } + public void setAreaTags(List areaTags) { + this.areaTags = areaTags; + } + public Integer getPoiSize() { + return poiSize; + } + public void setPoiSize(Integer poiSize) { + this.poiSize = poiSize; + } + public Map getAvgArea() { + return avgArea; + } + public void setAvgArea(Map avgArea) { + this.avgArea = avgArea; + } + public Integer getIndex() { + return index; + } + public void setIndex(Integer index) { + this.index = index; + } + public double getRentRate() { + return rentRate; + } + public void setRentRate(double rentRate) { + this.rentRate = rentRate; + } + public double getDistance() { + return distance; + } + public void setDistance(double distance) { + this.distance = distance; + } + public String getAddress() { + return address; + } + public void setAddress(String address) { + this.address = address; + } +}