|
@ -1,191 +0,0 @@
|
|
|
package com.yihu.wlyy.entity.concern;// default package
|
|
|
|
|
|
import com.yihu.wlyy.entity.IdEntity;
|
|
|
|
|
|
import java.sql.Timestamp;
|
|
|
import java.util.Date;
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.GeneratedValue;
|
|
|
import static javax.persistence.GenerationType.IDENTITY;
|
|
|
import javax.persistence.Id;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
/**
|
|
|
* WlyyConcern entity. @author MyEclipse Persistence Tools
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "wlyy_concern")
|
|
|
public class ConcernDO extends IdEntity {
|
|
|
|
|
|
private String code; //code
|
|
|
private String patient;//患者code
|
|
|
private String name;//患者名称
|
|
|
private String openid;//openID
|
|
|
private String idcard;//患者身份是在
|
|
|
private String ssc;//患者社保卡
|
|
|
private String mobile;//患者手机号
|
|
|
private Integer status;//状态 -1取消关注 1已关注
|
|
|
private String teamCode;//关注的团队code
|
|
|
private Integer concernSource;//关注方式: 1扫描二维码 2页面跳转 3.咨询关注
|
|
|
private String concernDoctorCode;//关注的医生code
|
|
|
private String concernDoctorName;//关注的医生名称
|
|
|
private Date createTime;//创建时间
|
|
|
private Date updateTime;//修改时间
|
|
|
|
|
|
// Constructors
|
|
|
|
|
|
/** default constructor */
|
|
|
public ConcernDO() {
|
|
|
}
|
|
|
|
|
|
/** full constructor */
|
|
|
public ConcernDO(String code, String patient, String name, String openid,
|
|
|
String idcard, String ssc, String mobile, Integer status,
|
|
|
String teamCode, Integer concernSource, String concernDoctorCode,
|
|
|
String concernDoctorName, Integer adminTeamCode,
|
|
|
Timestamp createTime, Timestamp updateTime) {
|
|
|
this.code = code;
|
|
|
this.patient = patient;
|
|
|
this.name = name;
|
|
|
this.openid = openid;
|
|
|
this.idcard = idcard;
|
|
|
this.ssc = ssc;
|
|
|
this.mobile = mobile;
|
|
|
this.status = status;
|
|
|
this.teamCode = teamCode;
|
|
|
this.concernSource = concernSource;
|
|
|
this.concernDoctorCode = concernDoctorCode;
|
|
|
this.concernDoctorName = concernDoctorName;
|
|
|
this.createTime = createTime;
|
|
|
this.updateTime = updateTime;
|
|
|
}
|
|
|
|
|
|
|
|
|
@Column(name = "code", nullable = false, length = 200)
|
|
|
public String getCode() {
|
|
|
return this.code;
|
|
|
}
|
|
|
|
|
|
public void setCode(String code) {
|
|
|
this.code = code;
|
|
|
}
|
|
|
|
|
|
@Column(name = "patient", length = 50)
|
|
|
public String getPatient() {
|
|
|
return this.patient;
|
|
|
}
|
|
|
|
|
|
public void setPatient(String patient) {
|
|
|
this.patient = patient;
|
|
|
}
|
|
|
|
|
|
@Column(name = "name", nullable = false, length = 50)
|
|
|
public String getName() {
|
|
|
return this.name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
@Column(name = "openid", length = 50)
|
|
|
public String getOpenid() {
|
|
|
return this.openid;
|
|
|
}
|
|
|
|
|
|
public void setOpenid(String openid) {
|
|
|
this.openid = openid;
|
|
|
}
|
|
|
|
|
|
@Column(name = "idcard", nullable = false, length = 50)
|
|
|
public String getIdcard() {
|
|
|
return this.idcard;
|
|
|
}
|
|
|
|
|
|
public void setIdcard(String idcard) {
|
|
|
this.idcard = idcard;
|
|
|
}
|
|
|
|
|
|
@Column(name = "ssc", nullable = false, length = 20)
|
|
|
public String getSsc() {
|
|
|
return this.ssc;
|
|
|
}
|
|
|
|
|
|
public void setSsc(String ssc) {
|
|
|
this.ssc = ssc;
|
|
|
}
|
|
|
|
|
|
@Column(name = "mobile", length = 100)
|
|
|
public String getMobile() {
|
|
|
return this.mobile;
|
|
|
}
|
|
|
|
|
|
public void setMobile(String mobile) {
|
|
|
this.mobile = mobile;
|
|
|
}
|
|
|
|
|
|
@Column(name = "status", nullable = false)
|
|
|
public Integer getStatus() {
|
|
|
return this.status;
|
|
|
}
|
|
|
|
|
|
public void setStatus(Integer status) {
|
|
|
this.status = status;
|
|
|
}
|
|
|
|
|
|
@Column(name = "team_code", length = 100)
|
|
|
public String getTeamCode() {
|
|
|
return this.teamCode;
|
|
|
}
|
|
|
|
|
|
public void setTeamCode(String teamCode) {
|
|
|
this.teamCode = teamCode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "concern_source")
|
|
|
public Integer getConcernSource() {
|
|
|
return this.concernSource;
|
|
|
}
|
|
|
|
|
|
public void setConcernSource(Integer concernSource) {
|
|
|
this.concernSource = concernSource;
|
|
|
}
|
|
|
|
|
|
@Column(name = "concern_doctor_code", length = 50)
|
|
|
public String getConcernDoctorCode() {
|
|
|
return this.concernDoctorCode;
|
|
|
}
|
|
|
|
|
|
public void setConcernDoctorCode(String concernDoctorCode) {
|
|
|
this.concernDoctorCode = concernDoctorCode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "concern_doctor_name", length = 200)
|
|
|
public String getConcernDoctorName() {
|
|
|
return this.concernDoctorName;
|
|
|
}
|
|
|
|
|
|
public void setConcernDoctorName(String concernDoctorName) {
|
|
|
this.concernDoctorName = concernDoctorName;
|
|
|
}
|
|
|
|
|
|
@Column(name = "create_time", length = 0)
|
|
|
public Date getCreateTime() {
|
|
|
return this.createTime;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "update_time", nullable = false, length = 0)
|
|
|
public Date getUpdateTime() {
|
|
|
return this.updateTime;
|
|
|
}
|
|
|
|
|
|
public void setUpdateTime(Date updateTime) {
|
|
|
this.updateTime = updateTime;
|
|
|
}
|
|
|
|
|
|
}
|