PatientHealthGuidance.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. package com.yihu.wlyy.entity.patient;
  2. import java.util.Date;
  3. import javax.persistence.Entity;
  4. import javax.persistence.Table;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.yihu.wlyy.entity.IdEntity;
  7. /**
  8. * 健康指导
  9. * @author George
  10. *
  11. */
  12. @Entity
  13. @Table(name = "wlyy_patient_health_guidance")
  14. public class PatientHealthGuidance extends IdEntity {
  15. /**
  16. *
  17. */
  18. private static final long serialVersionUID = -4187769034437765691L;
  19. // 患者标识
  20. private String patient;
  21. // 医生标识
  22. private String doctor;
  23. // 指导内容
  24. private String content;
  25. // 咨询图片URL,多图以逗号分隔
  26. private String images;
  27. // 咨询语音URL
  28. private String voice;
  29. // 作废标识:1正常,0作废
  30. private String del;
  31. // 添加时间
  32. private Date czrq;
  33. // 签约类型 1三师 2家庭
  34. private Integer signType;
  35. // 行政团队
  36. private Long adminTeamCode;
  37. public String getPatient() {
  38. return patient;
  39. }
  40. public void setPatient(String patient) {
  41. this.patient = patient;
  42. }
  43. public String getDoctor() {
  44. return doctor;
  45. }
  46. public void setDoctor(String doctor) {
  47. this.doctor = doctor;
  48. }
  49. public String getContent() {
  50. return content;
  51. }
  52. public void setContent(String content) {
  53. this.content = content;
  54. }
  55. public String getDel() {
  56. return del;
  57. }
  58. public void setDel(String del) {
  59. this.del = del;
  60. }
  61. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  62. public Date getCzrq() {
  63. return czrq;
  64. }
  65. public void setCzrq(Date czrq) {
  66. this.czrq = czrq;
  67. }
  68. public String getImages() {
  69. return images;
  70. }
  71. public void setImages(String images) {
  72. this.images = images;
  73. }
  74. public String getVoice() {
  75. return voice;
  76. }
  77. public void setVoice(String voice) {
  78. this.voice = voice;
  79. }
  80. public Integer getSignType() {
  81. return signType;
  82. }
  83. public void setSignType(Integer signType) {
  84. this.signType = signType;
  85. }
  86. public Long getAdminTeamCode() {
  87. return adminTeamCode;
  88. }
  89. public void setAdminTeamCode(Long adminTeamCode) {
  90. this.adminTeamCode = adminTeamCode;
  91. }
  92. }