HealthEduArticlePatientDTO.java 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. package com.yihu.es.entity;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.yihu.wlyy.entity.IdEntity;
  4. import javax.persistence.Column;
  5. import javax.persistence.Entity;
  6. import javax.persistence.Table;
  7. import javax.persistence.Transient;
  8. import java.util.Date;
  9. /**
  10. * 患者健康教育文章
  11. *
  12. * @author George
  13. */
  14. public class HealthEduArticlePatientDTO {
  15. private String id;
  16. // 患者标识
  17. private String patient;
  18. // 文章标识
  19. private String article;
  20. // 医生标识
  21. private String doctor;
  22. // 医生姓名
  23. private String doctorName;
  24. // 文章标题
  25. private String title;
  26. // 文章链接
  27. private String url;
  28. // 文章内容
  29. private String content;
  30. // 是否已读:0已读,1未读
  31. private Integer isRead;
  32. // 发布时间
  33. private Date czrq;
  34. // 签约类型 1三师 2家庭
  35. private Integer signType;
  36. // 行政团队
  37. private Long adminTeamCode;
  38. // 简介
  39. private String summary;
  40. //附加内容
  41. private String attachedContent;
  42. //批次号记录发送所属批次
  43. private String batchNo;
  44. //文章标题
  45. private String attachedTitle;
  46. //文章封面
  47. private String attachedPic;
  48. //推送类型
  49. private Integer sendType; //1或者为空 i健康后台推送 2PC端推送
  50. //签约表code
  51. private String signCode;
  52. private Integer articleId;
  53. private String patientName;
  54. public String getId() {
  55. return id;
  56. }
  57. public void setId(String id) {
  58. this.id = id;
  59. }
  60. public String getPatientName() {
  61. return patientName;
  62. }
  63. public void setPatientName(String patientName) {
  64. this.patientName = patientName;
  65. }
  66. public String getBatchNo() {
  67. return batchNo;
  68. }
  69. public void setBatchNo(String batchNo) {
  70. this.batchNo = batchNo;
  71. }
  72. public String getAttachedContent() {
  73. return attachedContent;
  74. }
  75. public void setAttachedContent(String attachedContent) {
  76. this.attachedContent = attachedContent;
  77. }
  78. public String getPatient() {
  79. return patient;
  80. }
  81. public void setPatient(String patient) {
  82. this.patient = patient;
  83. }
  84. public String getArticle() {
  85. return article;
  86. }
  87. public void setArticle(String article) {
  88. this.article = article;
  89. }
  90. public String getDoctor() {
  91. return doctor;
  92. }
  93. public void setDoctor(String doctor) {
  94. this.doctor = doctor;
  95. }
  96. public String getDoctorName() {
  97. return doctorName;
  98. }
  99. public void setDoctorName(String doctorName) {
  100. this.doctorName = doctorName;
  101. }
  102. @Transient
  103. public String getTitle() {
  104. return title;
  105. }
  106. public void setTitle(String title) {
  107. this.title = title;
  108. }
  109. @Transient
  110. public String getUrl() {
  111. return url;
  112. }
  113. public void setUrl(String url) {
  114. this.url = url;
  115. }
  116. @Transient
  117. public String getContent() {
  118. return content;
  119. }
  120. public void setContent(String content) {
  121. this.content = content;
  122. }
  123. public Integer getIsRead() {
  124. return isRead;
  125. }
  126. public void setIsRead(Integer isRead) {
  127. this.isRead = isRead;
  128. }
  129. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  130. public Date getCzrq() {
  131. return czrq;
  132. }
  133. public void setCzrq(Date czrq) {
  134. this.czrq = czrq;
  135. }
  136. public Integer getSignType() {
  137. return signType;
  138. }
  139. public void setSignType(Integer signType) {
  140. this.signType = signType;
  141. }
  142. public Long getAdminTeamCode() {
  143. return adminTeamCode;
  144. }
  145. public void setAdminTeamCode(Long adminTeamCode) {
  146. this.adminTeamCode = adminTeamCode;
  147. }
  148. @Transient
  149. public String getSummary() {
  150. return summary;
  151. }
  152. public void setSummary(String summary) {
  153. this.summary = summary;
  154. }
  155. public String getSignCode() {
  156. return signCode;
  157. }
  158. public void setSignCode(String signCode) {
  159. this.signCode = signCode;
  160. }
  161. @Transient
  162. public Integer getArticleId() {
  163. return articleId;
  164. }
  165. public void setArticleId(Integer articleId) {
  166. this.articleId = articleId;
  167. }
  168. public String getAttachedTitle() {
  169. return attachedTitle;
  170. }
  171. public void setAttachedTitle(String attachedTitle) {
  172. this.attachedTitle = attachedTitle;
  173. }
  174. public String getAttachedPic() {
  175. return attachedPic;
  176. }
  177. public void setAttachedPic(String attachedPic) {
  178. this.attachedPic = attachedPic;
  179. }
  180. public Integer getSendType() {
  181. return sendType;
  182. }
  183. public void setSendType(Integer sendType) {
  184. this.sendType = sendType;
  185. }
  186. }