|
@ -0,0 +1,358 @@
|
|
|
|
package com.yihu.es.entity;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
import com.yihu.wlyy.entity.patient.Patient;
|
|
|
|
import io.searchbox.annotations.JestId;
|
|
|
|
import org.springframework.data.annotation.CreatedDate;
|
|
|
|
import org.springframework.data.annotation.Transient;
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 推送记录表
|
|
|
|
* Created by chenweida on 2017/9/7.
|
|
|
|
*/
|
|
|
|
public class HealthEduArticleES {
|
|
|
|
@JestId
|
|
|
|
private String id;
|
|
|
|
private String batchNo;//批次号记录发送所属批次
|
|
|
|
private String patientCode; // 患者标识
|
|
|
|
private String patientName; // 患者标识
|
|
|
|
private String doctorCode; //推送的医生code(包括医生本人、卫计委)
|
|
|
|
private String doctorName; //推送的医生名称(包括医生本人、卫计委)
|
|
|
|
private String sendCode; // 发送人code(如管理员推送,保存登陆者code)
|
|
|
|
private String sendName; // 发送人名称(如管理员推送,保存登陆者name)
|
|
|
|
|
|
|
|
private String sendPic; // 发送人头像
|
|
|
|
private String sendSex; // 发送人性别
|
|
|
|
private Long adminTeamCode;// 行政团队
|
|
|
|
private String adminTeamName;// 行政团队
|
|
|
|
private String hospital; // 所属机构
|
|
|
|
private String hospitalName; // 所属机构
|
|
|
|
private String town; // 所属区划
|
|
|
|
private String townName; // 所属区划
|
|
|
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
|
|
|
|
@CreatedDate
|
|
|
|
private Date createTime; // 创建时间
|
|
|
|
private Integer sendType;//发送类型 1医生发送 2(管理员)卫纪委发送
|
|
|
|
private String sendLevel; // 发送人级别 1专科医生,2全科医生,3健康管理师 4 管理员
|
|
|
|
|
|
|
|
private String articleId; //文章id
|
|
|
|
private String articleTitle; //文章标题
|
|
|
|
private String articleCover;//文章封面
|
|
|
|
private String articleContent; //文章内容
|
|
|
|
private String articleCategoryId;//文章类别
|
|
|
|
private String firstLevelCategoryId;//文章一级类别id
|
|
|
|
private String firstLevelCategoryName;//文章一级类别Name
|
|
|
|
private String secondLevelCategoryId;//文章二级类别id
|
|
|
|
private String secondLevelCategoryName;//文章二级类别Name
|
|
|
|
private String operatorId;//文章作者Id
|
|
|
|
private int isRead=0;//文章是否已读 0未读,1已读
|
|
|
|
private String articleSource;//文章来源
|
|
|
|
|
|
|
|
private List<RoleVo> roleList;//发送者角色
|
|
|
|
private String leaveWords;//医生留言
|
|
|
|
private String currentUserRoleCode;//发送者当前登录的角色code
|
|
|
|
private String currentUserRoleLevel;//发送者当前登录的角色级别
|
|
|
|
|
|
|
|
private Integer sendSource; //1或者为空 i健康后台推送 2PC端推送
|
|
|
|
private Integer allCount;//所有的推送数目
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setId(String id) {
|
|
|
|
this.id = id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getBatchNo() {
|
|
|
|
return batchNo;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setBatchNo(String batchNo) {
|
|
|
|
this.batchNo = batchNo;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getPatientCode() {
|
|
|
|
return patientCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPatientCode(String patientCode) {
|
|
|
|
this.patientCode = patientCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getPatientName() {
|
|
|
|
return patientName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPatientName(String patientName) {
|
|
|
|
this.patientName = patientName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDoctorCode() {
|
|
|
|
return doctorCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDoctorCode(String doctorCode) {
|
|
|
|
this.doctorCode = doctorCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDoctorName() {
|
|
|
|
return doctorName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDoctorName(String doctorName) {
|
|
|
|
this.doctorName = doctorName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSendCode() {
|
|
|
|
return sendCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendCode(String sendCode) {
|
|
|
|
this.sendCode = sendCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSendName() {
|
|
|
|
return sendName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendName(String sendName) {
|
|
|
|
this.sendName = sendName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSendPic() {
|
|
|
|
return sendPic;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendPic(String sendPic) {
|
|
|
|
this.sendPic = sendPic;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSendSex() {
|
|
|
|
return sendSex;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendSex(String sendSex) {
|
|
|
|
this.sendSex = sendSex;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Long getAdminTeamCode() {
|
|
|
|
return adminTeamCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAdminTeamCode(Long adminTeamCode) {
|
|
|
|
this.adminTeamCode = adminTeamCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getAdminTeamName() {
|
|
|
|
return adminTeamName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAdminTeamName(String adminTeamName) {
|
|
|
|
this.adminTeamName = adminTeamName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getHospital() {
|
|
|
|
return hospital;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setHospital(String hospital) {
|
|
|
|
this.hospital = hospital;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getHospitalName() {
|
|
|
|
return hospitalName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setHospitalName(String hospitalName) {
|
|
|
|
this.hospitalName = hospitalName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getTown() {
|
|
|
|
return town;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTown(String town) {
|
|
|
|
this.town = town;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getTownName() {
|
|
|
|
return townName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTownName(String townName) {
|
|
|
|
this.townName = townName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Date getCreateTime() {
|
|
|
|
return createTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
|
this.createTime = createTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getSendType() {
|
|
|
|
return sendType;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendType(Integer sendType) {
|
|
|
|
this.sendType = sendType;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSendLevel() {
|
|
|
|
return sendLevel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendLevel(String sendLevel) {
|
|
|
|
this.sendLevel = sendLevel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getArticleId() {
|
|
|
|
return articleId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setArticleId(String articleId) {
|
|
|
|
this.articleId = articleId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getArticleTitle() {
|
|
|
|
return articleTitle;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setArticleTitle(String articleTitle) {
|
|
|
|
this.articleTitle = articleTitle;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getArticleCover() {
|
|
|
|
return articleCover;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setArticleCover(String articleCover) {
|
|
|
|
this.articleCover = articleCover;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getArticleContent() {
|
|
|
|
return articleContent;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setArticleContent(String articleContent) {
|
|
|
|
this.articleContent = articleContent;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getArticleCategoryId() {
|
|
|
|
return articleCategoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setArticleCategoryId(String articleCategoryId) {
|
|
|
|
this.articleCategoryId = articleCategoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getFirstLevelCategoryId() {
|
|
|
|
return firstLevelCategoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFirstLevelCategoryId(String firstLevelCategoryId) {
|
|
|
|
this.firstLevelCategoryId = firstLevelCategoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getFirstLevelCategoryName() {
|
|
|
|
return firstLevelCategoryName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFirstLevelCategoryName(String firstLevelCategoryName) {
|
|
|
|
this.firstLevelCategoryName = firstLevelCategoryName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSecondLevelCategoryId() {
|
|
|
|
return secondLevelCategoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSecondLevelCategoryId(String secondLevelCategoryId) {
|
|
|
|
this.secondLevelCategoryId = secondLevelCategoryId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getSecondLevelCategoryName() {
|
|
|
|
return secondLevelCategoryName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSecondLevelCategoryName(String secondLevelCategoryName) {
|
|
|
|
this.secondLevelCategoryName = secondLevelCategoryName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getOperatorId() {
|
|
|
|
return operatorId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOperatorId(String operatorId) {
|
|
|
|
this.operatorId = operatorId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getIsRead() {
|
|
|
|
return isRead;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setIsRead(int isRead) {
|
|
|
|
this.isRead = isRead;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getArticleSource() {
|
|
|
|
return articleSource;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setArticleSource(String articleSource) {
|
|
|
|
this.articleSource = articleSource;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<RoleVo> getRoleList() {
|
|
|
|
return roleList;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRoleList(List<RoleVo> roleList) {
|
|
|
|
this.roleList = roleList;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLeaveWords() {
|
|
|
|
return leaveWords;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLeaveWords(String leaveWords) {
|
|
|
|
this.leaveWords = leaveWords;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCurrentUserRoleCode() {
|
|
|
|
return currentUserRoleCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCurrentUserRoleCode(String currentUserRoleCode) {
|
|
|
|
this.currentUserRoleCode = currentUserRoleCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCurrentUserRoleLevel() {
|
|
|
|
return currentUserRoleLevel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCurrentUserRoleLevel(String currentUserRoleLevel) {
|
|
|
|
this.currentUserRoleLevel = currentUserRoleLevel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getSendSource() {
|
|
|
|
return sendSource;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSendSource(Integer sendSource) {
|
|
|
|
this.sendSource = sendSource;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getAllCount() {
|
|
|
|
return allCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAllCount(Integer allCount) {
|
|
|
|
this.allCount = allCount;
|
|
|
|
}
|
|
|
|
}
|