123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- package com.yihu.es.entity;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.yihu.wlyy.entity.IdEntity;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.Table;
- import javax.persistence.Transient;
- import java.util.Date;
- /**
- * 患者健康教育文章
- *
- * @author George
- */
- public class HealthEduArticlePatientDTO {
- private String id;
- // 患者标识
- private String patient;
- // 文章标识
- private String article;
- // 医生标识
- private String doctor;
- // 医生姓名
- private String doctorName;
- // 文章标题
- private String title;
- // 文章链接
- private String url;
- // 文章内容
- private String content;
- // 是否已读:0已读,1未读
- private Integer isRead;
- // 发布时间
- private Date czrq;
- // 签约类型 1三师 2家庭
- private Integer signType;
- // 行政团队
- private Long adminTeamCode;
- // 简介
- private String summary;
- //附加内容
- private String attachedContent;
- //批次号记录发送所属批次
- private String batchNo;
- //文章标题
- private String attachedTitle;
- //文章封面
- private String attachedPic;
- //推送类型
- private Integer sendType; //1或者为空 i健康后台推送 2PC端推送
- //签约表code
- private String signCode;
- private Integer articleId;
- private String patientName;
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getPatientName() {
- return patientName;
- }
- public void setPatientName(String patientName) {
- this.patientName = patientName;
- }
- public String getBatchNo() {
- return batchNo;
- }
- public void setBatchNo(String batchNo) {
- this.batchNo = batchNo;
- }
- public String getAttachedContent() {
- return attachedContent;
- }
- public void setAttachedContent(String attachedContent) {
- this.attachedContent = attachedContent;
- }
- public String getPatient() {
- return patient;
- }
- public void setPatient(String patient) {
- this.patient = patient;
- }
- public String getArticle() {
- return article;
- }
- public void setArticle(String article) {
- this.article = article;
- }
- public String getDoctor() {
- return doctor;
- }
- public void setDoctor(String doctor) {
- this.doctor = doctor;
- }
- public String getDoctorName() {
- return doctorName;
- }
- public void setDoctorName(String doctorName) {
- this.doctorName = doctorName;
- }
- @Transient
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- @Transient
- public String getUrl() {
- return url;
- }
- public void setUrl(String url) {
- this.url = url;
- }
- @Transient
- public String getContent() {
- return content;
- }
- public void setContent(String content) {
- this.content = content;
- }
- public Integer getIsRead() {
- return isRead;
- }
- public void setIsRead(Integer isRead) {
- this.isRead = isRead;
- }
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
- public Date getCzrq() {
- return czrq;
- }
- public void setCzrq(Date czrq) {
- this.czrq = czrq;
- }
- public Integer getSignType() {
- return signType;
- }
- public void setSignType(Integer signType) {
- this.signType = signType;
- }
- public Long getAdminTeamCode() {
- return adminTeamCode;
- }
- public void setAdminTeamCode(Long adminTeamCode) {
- this.adminTeamCode = adminTeamCode;
- }
- @Transient
- public String getSummary() {
- return summary;
- }
- public void setSummary(String summary) {
- this.summary = summary;
- }
- public String getSignCode() {
- return signCode;
- }
- public void setSignCode(String signCode) {
- this.signCode = signCode;
- }
- @Transient
- public Integer getArticleId() {
- return articleId;
- }
- public void setArticleId(Integer articleId) {
- this.articleId = articleId;
- }
- public String getAttachedTitle() {
- return attachedTitle;
- }
- public void setAttachedTitle(String attachedTitle) {
- this.attachedTitle = attachedTitle;
- }
- public String getAttachedPic() {
- return attachedPic;
- }
- public void setAttachedPic(String attachedPic) {
- this.attachedPic = attachedPic;
- }
- public Integer getSendType() {
- return sendType;
- }
- public void setSendType(Integer sendType) {
- this.sendType = sendType;
- }
- }
|