Consult.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. package com.yihu.wlyy.entity.consult;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.yihu.wlyy.entity.IdEntity;
  4. import javax.persistence.Entity;
  5. import javax.persistence.Table;
  6. import java.util.Date;
  7. /**
  8. * 患者视频、三师、公共、病友等咨询记录
  9. * @author George
  10. *
  11. */
  12. @Entity
  13. @Table(name = "wlyy_consult")
  14. public class Consult extends IdEntity {
  15. /**
  16. *
  17. */
  18. private static final long serialVersionUID = -1619584376832854189L;
  19. // 咨询标识
  20. private String code;
  21. // 患者标识
  22. private String patient;
  23. // 咨询类型:1三师咨询,2视频咨询,3图文咨询,4公共咨询,5病友圈 6、患者名医咨询 7医生名医咨询 8续方咨询 10医生发起的求助
  24. private Integer type;
  25. // 咨询标题/主诉
  26. private String title;
  27. // 主诉
  28. private String symptoms;
  29. // 咨询图片URL,多图以逗号分隔
  30. private String images;
  31. // 关联指导
  32. private Long guidance;
  33. // 咨询时间
  34. private Date czrq;
  35. // 作废标识,1正常,0作废
  36. private String del;
  37. // 结束时间
  38. private Date endTime;
  39. //签约表Code
  40. private String signCode;
  41. public String getCode() {
  42. return code;
  43. }
  44. public void setCode(String code) {
  45. this.code = code;
  46. }
  47. public String getPatient() {
  48. return patient;
  49. }
  50. public void setPatient(String patient) {
  51. this.patient = patient;
  52. }
  53. public Integer getType() {
  54. return type;
  55. }
  56. public void setType(Integer type) {
  57. this.type = type;
  58. }
  59. public String getTitle() {
  60. return title;
  61. }
  62. public void setTitle(String title) {
  63. this.title = title;
  64. }
  65. public String getSymptoms() {
  66. return symptoms;
  67. }
  68. public void setSymptoms(String symptoms) {
  69. this.symptoms = symptoms;
  70. }
  71. public String getImages() {
  72. return images;
  73. }
  74. public void setImages(String images) {
  75. this.images = images;
  76. }
  77. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  78. public Date getCzrq() {
  79. return czrq;
  80. }
  81. public void setCzrq(Date czrq) {
  82. this.czrq = czrq;
  83. }
  84. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  85. public Date getEndTime() {
  86. return endTime;
  87. }
  88. public void setEndTime(Date endTime) {
  89. this.endTime = endTime;
  90. }
  91. public String getDel() {
  92. return del;
  93. }
  94. public void setDel(String del) {
  95. this.del = del;
  96. }
  97. public Long getGuidance() {
  98. return guidance;
  99. }
  100. public void setGuidance(Long guidance) {
  101. this.guidance = guidance;
  102. }
  103. public String getSignCode() {
  104. return signCode;
  105. }
  106. public void setSignCode(String signCode) {
  107. this.signCode = signCode;
  108. }
  109. }