ConsultPublicReply.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. package com.yihu.wlyy.entity.consult;
  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_consult_public_reply")
  14. public class ConsultPublicReply extends IdEntity {
  15. /**
  16. *
  17. */
  18. private static final long serialVersionUID = 959839737694203009L;
  19. // 咨询标识
  20. private String consult;
  21. // 回复患者标识
  22. private String patient;
  23. // 回复医生标识
  24. private String doctor;
  25. // 回复者姓名
  26. private String name;
  27. // 性别:1男,2女
  28. private Integer sex;
  29. // 回复者头像
  30. private String photo;
  31. // 回复内容
  32. private String content;
  33. // 回复图片URL地址,多图以逗号分隔
  34. private String images;
  35. // 咨询时间
  36. private Date czrq;
  37. // 作废标识:1正常,0作废
  38. private String del;
  39. public String getConsult() {
  40. return consult;
  41. }
  42. public void setConsult(String consult) {
  43. this.consult = consult;
  44. }
  45. public String getPatient() {
  46. return patient;
  47. }
  48. public void setPatient(String patient) {
  49. this.patient = patient;
  50. }
  51. public String getDoctor() {
  52. return doctor;
  53. }
  54. public void setDoctor(String doctor) {
  55. this.doctor = doctor;
  56. }
  57. public String getName() {
  58. return name;
  59. }
  60. public void setName(String name) {
  61. this.name = name;
  62. }
  63. public Integer getSex() {
  64. return sex;
  65. }
  66. public void setSex(Integer sex) {
  67. this.sex = sex;
  68. }
  69. public String getPhoto() {
  70. return photo;
  71. }
  72. public void setPhoto(String photo) {
  73. this.photo = photo;
  74. }
  75. public String getContent() {
  76. return content;
  77. }
  78. public void setContent(String content) {
  79. this.content = content;
  80. }
  81. public String getImages() {
  82. return images;
  83. }
  84. public void setImages(String images) {
  85. this.images = images;
  86. }
  87. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  88. public Date getCzrq() {
  89. return czrq;
  90. }
  91. public void setCzrq(Date czrq) {
  92. this.czrq = czrq;
  93. }
  94. public String getDel() {
  95. return del;
  96. }
  97. public void setDel(String del) {
  98. this.del = del;
  99. }
  100. }