涉农结果导入
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.fangjia.dal.mongo.dao;
|
||||
|
||||
import com.fangjia.dal.MongoDao;
|
||||
import com.fangjia.dal.mongo.model.Township;
|
||||
import com.fangjia.dal.mongo.model.VillageIdentify;
|
||||
|
||||
public interface VillageIdentifyDao extends MongoDao<VillageIdentify> {
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package com.fangjia.dal.mongo.dao;
|
||||
|
||||
import com.fangjia.dal.MongoDaoImpl;
|
||||
import com.fangjia.dal.mongo.model.Township;
|
||||
import com.fangjia.dal.mongo.model.VillageIdentify;
|
||||
|
||||
public class VillageIdentifyDaoImpl extends MongoDaoImpl<VillageIdentify> implements VillageIdentifyDao {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,442 @@
|
||||
package com.fangjia.dal.mongo.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Entity
|
||||
@Table(name = "fangjia.village_identify_result")
|
||||
public class VillageIdentify implements MongoEntity {
|
||||
@Id
|
||||
@JSONField(name = "_id")
|
||||
private String id;
|
||||
@JSONField(name = "address")
|
||||
private String address;
|
||||
@JSONField(name = "province")
|
||||
private String province;
|
||||
@JSONField(name = "city")
|
||||
private String city1;
|
||||
@JSONField(name = "city_param")
|
||||
private String cityParam;
|
||||
@JSONField(name = "district")
|
||||
private String district;
|
||||
@JSONField(name = "town")
|
||||
private String town;
|
||||
@JSONField(name = "committee")
|
||||
private String committee;
|
||||
@JSONField(name = "type")
|
||||
private String type;
|
||||
@JSONField(name = "province_code")
|
||||
private String provinceCode;
|
||||
@JSONField(name = "city_code")
|
||||
private String cityCode;
|
||||
@JSONField(name = "district_code")
|
||||
private String districtCode;
|
||||
@JSONField(name = "town_code")
|
||||
private String townCode;
|
||||
@JSONField(name = "committee_code")
|
||||
private String committeeCode;
|
||||
@JSONField(name = "type_code")
|
||||
private String typeCode;
|
||||
@JSONField(name = "type_name")
|
||||
private String typeName;
|
||||
@JSONField(name = "verify_flag")
|
||||
private String verifyFlag;//涉农标识
|
||||
@JSONField(name = "addr_verify")
|
||||
private String addrVerify;//地址是否有效信息
|
||||
|
||||
@JSONField(name = "county_level_city")
|
||||
private String countyLevelCity;//是否为县级市
|
||||
@JSONField(name = "administrative_towns")
|
||||
private String administrativeTowns;//是否市辖建制镇
|
||||
@JSONField(name = "county_gov")
|
||||
private String countyGov;//是否为县政府
|
||||
@JSONField(name = "dev_district")
|
||||
private String devDistrict;//是否为开发区
|
||||
@JSONField(name = "dev_district_name")
|
||||
private String devDistrictName;//开发区
|
||||
@JSONField(name = "dev_level")
|
||||
private String devLevel;//开发区等级
|
||||
|
||||
|
||||
@JSONField(name = "lat")
|
||||
private Double lat;
|
||||
@JSONField(name = "lng")
|
||||
private Double lng;
|
||||
|
||||
@JSONField(name = "addr_area")
|
||||
private String addrArea;
|
||||
|
||||
//测试时使用
|
||||
@JSONField(name = "split_committee")
|
||||
private String splitCommittee;
|
||||
@JSONField(name = "split_street")
|
||||
private String splitStreet;
|
||||
@JSONField(name = "poi_name")
|
||||
private String poiName;
|
||||
@JSONField(name = "split_street_num")
|
||||
private String splitStreetNum;
|
||||
@JSONField(name = "dev")
|
||||
private String dev;
|
||||
@JSONField(name = "community_source")
|
||||
private String communitySource;//居委来源
|
||||
@JSONField(name = "match_poi_name")
|
||||
private String matchPoiName;//匹配poi的名称
|
||||
@JSONField(name = "region_info")
|
||||
private String regionInfo;//围栏区域信息
|
||||
|
||||
@JSONField(name = "tjj_district_name")
|
||||
private String tjjDistrictName;
|
||||
@JSONField(name = "village_type")
|
||||
private String villageType;
|
||||
|
||||
@JSONField(name = "c_date")
|
||||
private Date createTime;
|
||||
|
||||
@Column(name = "address")
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
@Column(name = "province")
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
@Column(name = "city")
|
||||
public String getCity1() {
|
||||
return city1;
|
||||
}
|
||||
|
||||
public void setCity1(String city1) {
|
||||
this.city1 = city1;
|
||||
}
|
||||
|
||||
@Column(name = "district")
|
||||
public String getDistrict() {
|
||||
return district;
|
||||
}
|
||||
|
||||
public void setDistrict(String district) {
|
||||
this.district = district;
|
||||
}
|
||||
@Column(name = "town")
|
||||
public String getTown() {
|
||||
return town;
|
||||
}
|
||||
|
||||
public void setTown(String town) {
|
||||
this.town = town;
|
||||
}
|
||||
|
||||
@Column(name = "committee")
|
||||
public String getCommittee() {
|
||||
return committee;
|
||||
}
|
||||
|
||||
public void setCommittee(String committee) {
|
||||
this.committee = committee;
|
||||
}
|
||||
|
||||
@Column(name = "type")
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Column(name = "province_code")
|
||||
public String getProvinceCode() {
|
||||
return provinceCode;
|
||||
}
|
||||
|
||||
public void setProvinceCode(String provinceCode) {
|
||||
this.provinceCode = provinceCode;
|
||||
}
|
||||
|
||||
@Column(name = "city_code")
|
||||
public String getCityCode() {
|
||||
return cityCode;
|
||||
}
|
||||
|
||||
public void setCityCode(String cityCode) {
|
||||
this.cityCode = cityCode;
|
||||
}
|
||||
|
||||
@Column(name = "district_code")
|
||||
public String getDistrictCode() {
|
||||
return districtCode;
|
||||
}
|
||||
|
||||
public void setDistrictCode(String districtCode) {
|
||||
this.districtCode = districtCode;
|
||||
}
|
||||
|
||||
@Column(name = "town_code")
|
||||
public String getTownCode() {
|
||||
return townCode;
|
||||
}
|
||||
|
||||
public void setTownCode(String townCode) {
|
||||
this.townCode = townCode;
|
||||
}
|
||||
|
||||
@Column(name = "committee_code")
|
||||
public String getCommitteeCode() {
|
||||
return committeeCode;
|
||||
}
|
||||
|
||||
public void setCommitteeCode(String committeeCode) {
|
||||
this.committeeCode = committeeCode;
|
||||
}
|
||||
|
||||
@Column(name = "type_code")
|
||||
public String getTypeCode() {
|
||||
return typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
@Column(name = "type_name")
|
||||
public String getTypeName() {
|
||||
return typeName;
|
||||
}
|
||||
|
||||
public void setTypeName(String typeName) {
|
||||
this.typeName = typeName;
|
||||
}
|
||||
|
||||
@Column(name = "verify_flag")
|
||||
public String getVerifyFlag() {
|
||||
return verifyFlag;
|
||||
}
|
||||
|
||||
public void setVerifyFlag(String verifyFlag) {
|
||||
this.verifyFlag = verifyFlag;
|
||||
}
|
||||
|
||||
@Column(name = "addr_verify")
|
||||
public String getAddrVerify() {
|
||||
return addrVerify;
|
||||
}
|
||||
|
||||
public void setAddrVerify(String addrVerify) {
|
||||
this.addrVerify = addrVerify;
|
||||
}
|
||||
|
||||
@Column(name = "county_level_city")
|
||||
public String getCountyLevelCity() {
|
||||
return countyLevelCity;
|
||||
}
|
||||
|
||||
public void setCountyLevelCity(String countyLevelCity) {
|
||||
this.countyLevelCity = countyLevelCity;
|
||||
}
|
||||
|
||||
@Column(name = "administrative_town")
|
||||
public String getAdministrativeTowns() {
|
||||
return administrativeTowns;
|
||||
}
|
||||
|
||||
public void setAdministrativeTowns(String administrativeTowns) {
|
||||
this.administrativeTowns = administrativeTowns;
|
||||
}
|
||||
|
||||
@Column(name = "county_gov")
|
||||
public String getCountyGov() {
|
||||
return countyGov;
|
||||
}
|
||||
|
||||
public void setCountyGov(String countyGov) {
|
||||
this.countyGov = countyGov;
|
||||
}
|
||||
|
||||
@Column(name = "dev_district")
|
||||
public String getDevDistrict() {
|
||||
return devDistrict;
|
||||
}
|
||||
|
||||
public void setDevDistrict(String devDistrict) {
|
||||
this.devDistrict = devDistrict;
|
||||
}
|
||||
|
||||
@Column(name = "dev_district_name")
|
||||
public String getDevDistrictName() {
|
||||
return devDistrictName;
|
||||
}
|
||||
|
||||
public void setDevDistrictName(String devDistrictName) {
|
||||
this.devDistrictName = devDistrictName;
|
||||
}
|
||||
|
||||
@Column(name = "dev_level")
|
||||
public String getDevLevel() {
|
||||
return devLevel;
|
||||
}
|
||||
|
||||
public void setDevLevel(String devLevel) {
|
||||
this.devLevel = devLevel;
|
||||
}
|
||||
|
||||
@Column(name = "lat")
|
||||
public Double getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(Double lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
@Column(name = "lng")
|
||||
public Double getLng() {
|
||||
return lng;
|
||||
}
|
||||
|
||||
public void setLng(Double lng) {
|
||||
this.lng = lng;
|
||||
}
|
||||
|
||||
@Column(name = "addr_area")
|
||||
public String getAddrArea() {
|
||||
return addrArea;
|
||||
}
|
||||
|
||||
public void setAddrArea(String addrArea) {
|
||||
this.addrArea = addrArea;
|
||||
}
|
||||
|
||||
@Column(name = "split_committee")
|
||||
public String getSplitCommittee() {
|
||||
return splitCommittee;
|
||||
}
|
||||
|
||||
public void setSplitCommittee(String splitCommittee) {
|
||||
this.splitCommittee = splitCommittee;
|
||||
}
|
||||
|
||||
@Column(name = "split_street")
|
||||
public String getSplitStreet() {
|
||||
return splitStreet;
|
||||
}
|
||||
|
||||
public void setSplitStreet(String splitStreet) {
|
||||
this.splitStreet = splitStreet;
|
||||
}
|
||||
|
||||
@Column(name = "poi_name")
|
||||
public String getPoiName() {
|
||||
return poiName;
|
||||
}
|
||||
|
||||
public void setPoiName(String poiName) {
|
||||
this.poiName = poiName;
|
||||
}
|
||||
|
||||
@Column(name = "split_street_num")
|
||||
public String getSplitStreetNum() {
|
||||
return splitStreetNum;
|
||||
}
|
||||
|
||||
public void setSplitStreetNum(String splitStreetNum) {
|
||||
this.splitStreetNum = splitStreetNum;
|
||||
}
|
||||
|
||||
@Column(name = "dev")
|
||||
public String getDev() {
|
||||
return dev;
|
||||
}
|
||||
|
||||
public void setDev(String dev) {
|
||||
this.dev = dev;
|
||||
}
|
||||
|
||||
@Column(name = "community_source")
|
||||
public String getCommunitySource() {
|
||||
return communitySource;
|
||||
}
|
||||
|
||||
public void setCommunitySource(String communitySource) {
|
||||
this.communitySource = communitySource;
|
||||
}
|
||||
|
||||
@Column(name = "match_poi_name")
|
||||
public String getMatchPoiName() {
|
||||
return matchPoiName;
|
||||
}
|
||||
|
||||
public void setMatchPoiName(String matchPoiName) {
|
||||
this.matchPoiName = matchPoiName;
|
||||
}
|
||||
|
||||
@Column(name = "region_info")
|
||||
public String getRegionInfo() {
|
||||
return regionInfo;
|
||||
}
|
||||
|
||||
public void setRegionInfo(String regionInfo) {
|
||||
this.regionInfo = regionInfo;
|
||||
}
|
||||
|
||||
@Column(name = "tjj_district_name")
|
||||
public String getTjjDistrictName() {
|
||||
return tjjDistrictName;
|
||||
}
|
||||
|
||||
public void setTjjDistrictName(String tjjDistrictName) {
|
||||
this.tjjDistrictName = tjjDistrictName;
|
||||
}
|
||||
|
||||
@Column(name = "c_date")
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Column(name = "_id")
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Column(name = "village_type")
|
||||
public String getVillageType() {
|
||||
return villageType;
|
||||
}
|
||||
|
||||
public void setVillageType(String villageType) {
|
||||
this.villageType = villageType;
|
||||
}
|
||||
|
||||
@Column(name = "city_param")
|
||||
public String getCityParam() {
|
||||
return cityParam;
|
||||
}
|
||||
|
||||
public void setCityParam(String cityParam) {
|
||||
this.cityParam = cityParam;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user