新增写字楼估值估值接口
This commit is contained in:
-4
@@ -2,10 +2,6 @@ package com.fangjia.dal.mongo.dao.office;
|
||||
|
||||
import com.fangjia.dal.MongoDao;
|
||||
import com.fangjia.dal.mongo.model.OfficeRentStat;
|
||||
import com.fangjia.dal.mongo.model.RegionStat;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface OfficeRentStatDao extends MongoDao<OfficeRentStat> {
|
||||
|
||||
|
||||
@@ -1,17 +1,10 @@
|
||||
package com.fangjia.dal.mongo.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
import com.fangjia.dal.MongoEntity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
@Entity
|
||||
@Table(name = "fangjia.evaluation")
|
||||
public class Evaluation implements MongoEntity {
|
||||
@@ -128,6 +121,7 @@ public class Evaluation implements MongoEntity {
|
||||
//我查查状态字段
|
||||
private int statusCha;
|
||||
|
||||
private Double unitPrice;
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
@Column(name = "_id")
|
||||
@@ -180,6 +174,7 @@ public class Evaluation implements MongoEntity {
|
||||
return totalPrice;
|
||||
}
|
||||
|
||||
|
||||
public void setTotalPrice(Integer totalPrice) {
|
||||
this.totalPrice = totalPrice;
|
||||
}
|
||||
@@ -995,4 +990,12 @@ public class Evaluation implements MongoEntity {
|
||||
this.statusCha = statusCha;
|
||||
}
|
||||
|
||||
@Column(name = "unit_price")
|
||||
public Double getUnitPrice() {
|
||||
return unitPrice;
|
||||
}
|
||||
|
||||
public void setUnitPrice(Double unitPrice) {
|
||||
this.unitPrice = unitPrice;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user