Merge branch 'feature_master_xh_standard' into 'master'

Feature master xh standard

See merge request !93
This commit is contained in:
2021-08-26 12:20:36 +08:00
39 changed files with 582 additions and 58 deletions
@@ -0,0 +1,8 @@
package com.fangjia.dal.mongo.fangjia.dao;
import com.fangjia.dal.MongoDao;
import com.fangjia.dal.mongo.fangjia.model.AdviceLeads;
public interface AdviceLeadsDao extends MongoDao<AdviceLeads> {
}
@@ -0,0 +1,8 @@
package com.fangjia.dal.mongo.fangjia.dao;
import com.fangjia.dal.MongoDaoImpl;
import com.fangjia.dal.mongo.fangjia.model.AdviceLeads;
public class AdviceLeadsDaoImpl extends MongoDaoImpl<AdviceLeads> implements AdviceLeadsDao {
}
@@ -0,0 +1,175 @@
package com.fangjia.dal.mongo.fangjia.model;
import com.fangjia.dal.MongoEntity;
import javax.persistence.*;
import java.util.Date;
/**
* 新版房价网咨询线索表
*
*/
@Entity
@Table(name = "fangjia_coresite.advice_leads")
public class AdviceLeads implements MongoEntity {
private static final long serialVersionUID = 3318465986161755755L;
private String id;
/**
* 姓名
*/
private String name;
/**
* 手机
*/
private String mobile;
/**
* 邮箱
*/
private String email;
/**
* 公司
*/
private String company;
/**
* 部门
*/
private String department;
/**
* 职位
*/
private String position;
/**
* 创建时间
*/
private Date createDate;
/**
* 修改时间
*/
private Date modifyDate;
/**
* 临时用户id
*/
private String tempId;
/**
* 真实用户id
*/
private String userId;
@Id
@GeneratedValue
@Column(name = "_id", unique = true, nullable = false)
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Column(name = "name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Column(name = "company")
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
@Column(name = "mobile")
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
@Column(name = "email")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Column(name = "department")
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
@Column(name = "position")
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
@Column(name = "c_date")
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
@Column(name = "m_date")
public Date getModifyDate() {
return modifyDate;
}
public void setModifyDate(Date modifyDate) {
this.modifyDate = modifyDate;
}
@Column(name = "temp_id")
public String getTempId() {
return tempId;
}
public void setTempId(String tempId) {
this.tempId = tempId;
}
@Column(name = "user_id")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}