城市、区域、小区价格指数

This commit is contained in:
majintao
2024-09-26 17:05:25 +08:00
parent a68c4ef9c4
commit ccb6c9ee9a
3 changed files with 789 additions and 407 deletions
@@ -0,0 +1,282 @@
package com.fangjia.dal.mongo.model;
import com.fangjia.dal.MongoEntity;
import javax.persistence.*;
import java.util.Date;
/**
* ¼Û¸ñÖ¸Êý
*/
@Entity
@Table(name = "fangjia_stat.property_stats_index")
public class PropertyStatsIndex implements MongoEntity{
/**
*
*/
private static final long serialVersionUID = -9102764355476337768L;
private String id;
private String city;
private String district;
private String name;
private String yearmonth;
private Integer source;
private String remark;
private Double chain;
private Double yeartoyear;
private Double fixedbase;
private Double belowChain;
private Double belowYeartoyear;
private Double belowFixedbase;
private Double amongChain;
private Double amongYeartoyear;
private Double amongFixedbase;
private Double aboveChain;
private Double aboveYeartoyear;
private Double aboveFixedbase;
private Date cDate;
private String cat;
private Double fangIndex;
private Double fangChain;
private String type;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "_id")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Column(name = "city")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
@Column(name = "district")
public String getDistrict() {
return district;
}
public void setDistrict(String district) {
this.district = district;
}
@Column(name = "name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Column(name = "c_date")
public Date getcDate() {
return cDate;
}
public void setcDate(Date cDate) {
this.cDate = cDate;
}
@Column(name = "yearmonth")
public String getYearmonth() {
return yearmonth;
}
public void setYearmonth(String yearmonth) {
this.yearmonth = yearmonth;
}
@Column(name = "source")
public Integer getSource() {
return source;
}
public void setSource(Integer source) {
this.source = source;
}
@Column(name = "remark")
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
@Column(name = "below_chain")
public Double getBelowChain() {
return belowChain;
}
public void setBelowChain(Double belowChain) {
this.belowChain = belowChain;
}
@Column(name = "below_yeartoyear")
public Double getBelowYeartoyear() {
return belowYeartoyear;
}
public void setBelowYeartoyear(Double belowYeartoyear) {
this.belowYeartoyear = belowYeartoyear;
}
@Column(name = "below_fixedbase")
public Double getBelowFixedbase() {
return belowFixedbase;
}
public void setBelowFixedbase(Double belowFixedbase) {
this.belowFixedbase = belowFixedbase;
}
@Column(name = "among_chain")
public Double getAmongChain() {
return amongChain;
}
public void setAmongChain(Double amongChain) {
this.amongChain = amongChain;
}
@Column(name = "among_yeartoyear")
public Double getAmongYeartoyear() {
return amongYeartoyear;
}
public void setAmongYeartoyear(Double amongYeartoyear) {
this.amongYeartoyear = amongYeartoyear;
}
@Column(name = "among_fixedbase")
public Double getAmongFixedbase() {
return amongFixedbase;
}
public void setAmongFixedbase(Double amongFixedbase) {
this.amongFixedbase = amongFixedbase;
}
@Column(name = "above_chain")
public Double getAboveChain() {
return aboveChain;
}
public void setAboveChain(Double aboveChain) {
this.aboveChain = aboveChain;
}
@Column(name = "above_yeartoyear")
public Double getAboveYeartoyear() {
return aboveYeartoyear;
}
public void setAboveYeartoyear(Double aboveYeartoyear) {
this.aboveYeartoyear = aboveYeartoyear;
}
@Column(name = "above_fixedbase")
public Double getAboveFixedbase() {
return aboveFixedbase;
}
public void setAboveFixedbase(Double aboveFixedbase) {
this.aboveFixedbase = aboveFixedbase;
}
@Column(name = "cat")
public String getCat() {
return cat;
}
public void setCat(String cat) {
this.cat = cat;
}
@Column(name = "fang_index")
public Double getFangIndex() {
return fangIndex;
}
public void setFangIndex(Double fangIndex) {
this.fangIndex = fangIndex;
}
@Column(name = "fang_chain")
public Double getFangChain() {
return fangChain;
}
public void setFangChain(Double fangChain) {
this.fangChain = fangChain;
}
@Column(name = "chain")
public Double getChain() {
return chain;
}
public void setChain(Double chain) {
this.chain = chain;
}
@Column(name = "yeartoyear")
public Double getYeartoyear() {
return yeartoyear;
}
public void setYeartoyear(Double yeartoyear) {
this.yeartoyear = yeartoyear;
}
@Column(name = "fixedbase")
public Double getFixedbase() {
return fixedbase;
}
public void setFixedbase(Double fixedbase) {
this.fixedbase = fixedbase;
}
@Column(name = "type")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
@@ -14,7 +14,7 @@ import com.fangjia.dal.MongoEntity;
* ¼Û¸ñÖ¸Êý
*/
@Entity
@Table(name = "fangjia.stats_index")
@Table(name = "fangjia_stat.stats_index")
public class StatsIndex implements MongoEntity{
/**
*
@@ -24,6 +24,8 @@ public class StatsIndex implements MongoEntity{
private String id;
private String city;
private String district;
private String yearmonth;
@@ -31,12 +33,15 @@ public class StatsIndex implements MongoEntity{
private String remark;
private Double newChain;
private Double newYeartoyear;
private Double newFixedbase;
// private Double newChain;
private Double chain;
// private Double newYeartoyear;
private Double yeartoyear;
// private Double newFixedbase;
private Double fixedbase;
private Double belowChain;
private Double belowYeartoyear;
@@ -62,6 +67,8 @@ public class StatsIndex implements MongoEntity{
private Double fangIndex;
private Double fangChain;
private String type;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "_id")
@@ -82,6 +89,14 @@ public class StatsIndex implements MongoEntity{
this.city = city;
}
@Column(name = "district")
public String getDistrict() {
return district;
}
public void setDistrict(String district) {
this.district = district;
}
@Column(name = "c_date")
public Date getcDate() {
@@ -118,34 +133,6 @@ public class StatsIndex implements MongoEntity{
public void setRemark(String remark) {
this.remark = remark;
}
@Column(name = "new_chain")
public Double getNewChain() {
return newChain;
}
public void setNewChain(Double newChain) {
this.newChain = newChain;
}
@Column(name = "new_yeartoyear")
public Double getNewYeartoyear() {
return newYeartoyear;
}
public void setNewYeartoyear(Double newYeartoyear) {
this.newYeartoyear = newYeartoyear;
}
@Column(name = "new_fixedbase")
public Double getNewFixedbase() {
return newFixedbase;
}
public void setNewFixedbase(Double newFixedbase) {
this.newFixedbase = newFixedbase;
}
@Column(name = "below_chain")
public Double getBelowChain() {
return belowChain;
@@ -253,6 +240,40 @@ public class StatsIndex implements MongoEntity{
public void setFangChain(Double fangChain) {
this.fangChain = fangChain;
}
@Column(name = "chain")
public Double getChain() {
return chain;
}
public void setChain(Double chain) {
this.chain = chain;
}
@Column(name = "yeartoyear")
public Double getYeartoyear() {
return yeartoyear;
}
public void setYeartoyear(Double yeartoyear) {
this.yeartoyear = yeartoyear;
}
@Column(name = "fixedbase")
public Double getFixedbase() {
return fixedbase;
}
public void setFixedbase(Double fixedbase) {
this.fixedbase = fixedbase;
}
@Column(name = "type")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}