|
@ -0,0 +1,132 @@
|
|
|
|
package com.yihu.wlyy.entity.doctor.survey;
|
|
|
|
|
|
|
|
import com.yihu.wlyy.entity.IdEntity;
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by humingfen on 2018/9/27.
|
|
|
|
*/
|
|
|
|
@Entity
|
|
|
|
@Table(name = "wlyy_survey_question_result")
|
|
|
|
public class SurveyQuestionResult extends IdEntity implements Serializable {
|
|
|
|
|
|
|
|
//唯一标识
|
|
|
|
private String code;
|
|
|
|
//模板编码
|
|
|
|
private String templateCode;
|
|
|
|
//模板标题
|
|
|
|
private String templateTitle;
|
|
|
|
//居民code
|
|
|
|
private String patientCode;
|
|
|
|
//居民名字
|
|
|
|
private String patientName;
|
|
|
|
//类型(1客服)
|
|
|
|
private Integer type;
|
|
|
|
//创建人(客服)code
|
|
|
|
private String createUser;
|
|
|
|
//创建人(客服)名称
|
|
|
|
private String createUserName;
|
|
|
|
//创建时间
|
|
|
|
private Date createTime;
|
|
|
|
|
|
|
|
public SurveyQuestionResult() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public SurveyQuestionResult(String code, String templateCode, String templateTitle, String patientCode, String patientName, Integer type, String createUser, String createUserName, Date createTime) {
|
|
|
|
this.code = code;
|
|
|
|
this.templateCode = templateCode;
|
|
|
|
this.templateTitle = templateTitle;
|
|
|
|
this.patientCode = patientCode;
|
|
|
|
this.patientName = patientName;
|
|
|
|
this.type = type;
|
|
|
|
this.createUser = createUser;
|
|
|
|
this.createUserName = createUserName;
|
|
|
|
this.createTime = createTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "code")
|
|
|
|
public String getCode() {
|
|
|
|
return code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCode(String code) {
|
|
|
|
this.code = code;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "template_code")
|
|
|
|
public String getTemplateCode() {
|
|
|
|
return templateCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTemplateCode(String templateCode) {
|
|
|
|
this.templateCode = templateCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "template_title")
|
|
|
|
public String getTemplateTitle() {
|
|
|
|
return templateTitle;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTemplateTitle(String templateTitle) {
|
|
|
|
this.templateTitle = templateTitle;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "patient_code")
|
|
|
|
public String getPatientCode() {
|
|
|
|
return patientCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPatientCode(String patientCode) {
|
|
|
|
this.patientCode = patientCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "patient_name")
|
|
|
|
public String getPatientName() {
|
|
|
|
return patientName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPatientName(String patientName) {
|
|
|
|
this.patientName = patientName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "type")
|
|
|
|
public Integer getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setType(Integer type) {
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "create_user")
|
|
|
|
public String getCreateUser() {
|
|
|
|
return createUser;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCreateUser(String createUser) {
|
|
|
|
this.createUser = createUser;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "create_user_name")
|
|
|
|
public String getCreateUserName() {
|
|
|
|
return createUserName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCreateUserName(String createUserName) {
|
|
|
|
this.createUserName = createUserName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "create_time")
|
|
|
|
public Date getCreateTime() {
|
|
|
|
return createTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
|
this.createTime = createTime;
|
|
|
|
}
|
|
|
|
}
|