新增湖北征信定制接口

This commit is contained in:
2026-01-28 11:14:15 +08:00
parent 6603404510
commit 531a9d9c23
9 changed files with 895 additions and 6 deletions
@@ -0,0 +1,8 @@
package com.fangjia.dal.mongo.dao.bkoff;
import com.fangjia.dal.MongoDao;
import com.fangjia.dal.mongo.model.bkoff.DealSample;
public interface DealSampleDao extends MongoDao<DealSample> {
}
@@ -0,0 +1,9 @@
package com.fangjia.dal.mongo.dao.bkoff;
import com.fangjia.dal.MongoDaoImpl;
import com.fangjia.dal.mongo.model.bkoff.DealSample;
public class DealSampleDaoImpl extends MongoDaoImpl<DealSample> implements DealSampleDao{
}
@@ -0,0 +1,194 @@
package com.fangjia.dal.mongo.model.bkoff;
import com.fangjia.dal.MongoEntity;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "business.deal_sample")
public class DealSample implements MongoEntity {
private String id;
private String city;
private String district;
private String name;
private Number unitPrice;
private Integer totalPrice;
private Double size;
private String type;
private Integer floor;
private Date caseDate;
private String decoration;
private String direction;//³¯Ïò
private Integer maxFloor;
private Integer room;
private Integer hall;
private Integer yearMonth;
private String cat;
private Object location;
@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 = "unitPrice")
public Number getUnitPrice() {
return unitPrice;
}
public void setUnitPrice(Number unitPrice) {
this.unitPrice = unitPrice;
}
@Column(name = "totalPrice")
public Integer getTotalPrice() {
return totalPrice;
}
public void setTotalPrice(Integer totalPrice) {
this.totalPrice = totalPrice;
}
@Column(name = "size")
public Double getSize() {
return size;
}
public void setSize(Double size) {
this.size = size;
}
@Column(name = "type")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Column(name = "floor")
public Integer getFloor() {
return floor;
}
public void setFloor(Integer floor) {
this.floor = floor;
}
@Column(name = "caseDate")
public Date getCaseDate() {
return caseDate;
}
public void setCaseDate(Date caseDate) {
this.caseDate = caseDate;
}
@Column(name = "decoration")
public String getDecoration() {
return decoration;
}
public void setDecoration(String decoration) {
this.decoration = decoration;
}
@Column(name = "direction")
public String getDirection() {
return direction;
}
public void setDirection(String direction) {
this.direction = direction;
}
@Column(name = "maxFloor")
public Integer getMaxFloor() {
return maxFloor;
}
public void setMaxFloor(Integer maxFloor) {
this.maxFloor = maxFloor;
}
@Column(name = "room")
public Integer getRoom() {
return room;
}
public void setRoom(Integer room) {
this.room = room;
}
@Column(name = "hall")
public Integer getHall() {
return hall;
}
public void setHall(Integer hall) {
this.hall = hall;
}
@Column(name = "yearMonth")
public Integer getYearMonth() {
return yearMonth;
}
public void setYearMonth(Integer yearMonth) {
this.yearMonth = yearMonth;
}
@Column(name = "cat")
public String getCat() {
return cat;
}
public void setCat(String cat) {
this.cat = cat;
}
@Column(name = "location")
public Object getLocation() {
return location;
}
public void setLocation(Object location) {
this.location = location;
}
@Id
@GeneratedValue
@Column(name = "_id", unique = true, nullable = false)
public String getId() {
return id;
}
@Override
public void setId(String id) {
this.id = id;
}
}