新增租金查看

This commit is contained in:
Jian Shen
2022-08-08 15:30:33 +08:00
parent f1525cbce0
commit 0dad9ea218
19 changed files with 4458 additions and 59 deletions
@@ -11,7 +11,7 @@ import javax.persistence.Table;
import com.fangjia.dal.MongoEntity;
@Entity
@Table(name = "fangjia.sqmetre_rent")
@Table(name = "fangjia.sqmetre_rent_2")
public class SqmetreRent implements MongoEntity {
/**
@@ -22,18 +22,16 @@ public class SqmetreRent implements MongoEntity {
private String city;
private String region;
private String districtName;
private Double avgPrice;
private int markup;
private Integer avgPrice;
private Integer calcAvgPrice;
private Double markup;
private Date weekend;
private String cat;
private Date creationDate;
private Date modificationDate;
private String sampleEnum;
private double credit;
private String cluster;
private Double oldValue;
private String oldSampleEnum;
private Double credit;
private String valueType;
private Integer priceToRent;
@Id
@GeneratedValue
@@ -76,22 +74,47 @@ public class SqmetreRent implements MongoEntity {
}
@Column(name = "avg_price")
public Double getAvgPrice() {
public Integer getAvgPrice() {
return avgPrice;
}
public void setAvgPrice(Double avgPrice) {
public void setAvgPrice(Integer avgPrice) {
this.avgPrice = avgPrice;
}
@Column(name = "calc_avg_price")
public Integer getCalcAvgPrice() {
return calcAvgPrice;
}
public void setCalcAvgPrice(Integer calcAvgPrice) {
this.calcAvgPrice = calcAvgPrice;
}
@Column(name = "value_type")
public String getValueType() {
return valueType;
}
public void setValueType(String valueType) {
this.valueType = valueType;
}
@Column(name = "price_to_rent")
public Integer getPriceToRent() {
return priceToRent;
}
public void setPriceToRent(Integer priceToRent) {
this.priceToRent = priceToRent;
}
@Column(name = "markup")
public int getMarkup() {
public Double getMarkup() {
return markup;
}
public void setMarkup(int markup) {
public void setMarkup(Double markup) {
this.markup = markup;
}
@@ -123,52 +146,15 @@ public class SqmetreRent implements MongoEntity {
}
@Column(name = "sample_enum")
public String getSampleEnum() {
return sampleEnum;
}
public void setSampleEnum(String sampleEnum) {
this.sampleEnum = sampleEnum;
}
@Column(name = "credit")
public double getCredit() {
public Double getCredit() {
return credit;
}
public void setCredit(double credit) {
public void setCredit(Double credit) {
this.credit = credit;
}
@Column(name = "cluster")
public String getCluster() {
return cluster;
}
public void setCluster(String cluster) {
this.cluster = cluster;
}
@Column(name = "old_value")
public Double getOldValue() {
return oldValue;
}
public void setOldValue(Double oldValue) {
this.oldValue = oldValue;
}
@Column(name = "old_sample_enum")
public String getOldSampleEnum() {
return oldSampleEnum;
}
public void setOldSampleEnum(String oldSampleEnum) {
this.oldSampleEnum = oldSampleEnum;
}
@Column(name = "cat")
public String getCat() {
return cat;