AssistanceApplyModel.java 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. package com.yihu.ehr.svrinspection.model;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.yihu.ehr.svrinspection.commons.model.IntegerIdentityEntity;
  4. import javax.persistence.*;
  5. import java.util.Date;
  6. /**
  7. * @author HZY
  8. * @created 2018/11/9 16:02
  9. */
  10. @Entity
  11. @Table(name = "org_assistance_apply", schema = "", catalog = "healtharchive")
  12. public class AssistanceApplyModel extends IntegerIdentityEntity {
  13. private String applyOrg;
  14. private String applyUserId;
  15. private Date applyDate;
  16. private String remark;
  17. private String picture;
  18. private Integer isRead;
  19. private String solutionOrg;
  20. private Integer solutionStatus;
  21. private Date solutionDate;
  22. private String solutionReply;
  23. private String solutionUserId;
  24. private String solutionUserName;
  25. private String profileId;
  26. private Integer examType;
  27. private String examDept;
  28. private String examItemName;
  29. private String patientName;
  30. private Integer patientAge;
  31. private String patientSex;
  32. @Basic
  33. @Column(name = "apply_org", nullable = true, length = 32)
  34. public String getApplyOrg() {
  35. return applyOrg;
  36. }
  37. public void setApplyOrg(String applyOrg) {
  38. this.applyOrg = applyOrg;
  39. }
  40. @Basic
  41. @Column(name = "apply_user_id", nullable = true, length = 32)
  42. public String getApplyUserId() {
  43. return applyUserId;
  44. }
  45. public void setApplyUserId(String applyUserId) {
  46. this.applyUserId = applyUserId;
  47. }
  48. @Basic
  49. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  50. @Column(name = "apply_date", nullable = true)
  51. public Date getApplyDate() {
  52. return applyDate;
  53. }
  54. public void setApplyDate(Date applyDate) {
  55. this.applyDate = applyDate;
  56. }
  57. @Basic
  58. @Column(name = "remark", nullable = true, length = 255)
  59. public String getRemark() {
  60. return remark;
  61. }
  62. public void setRemark(String remark) {
  63. this.remark = remark;
  64. }
  65. @Basic
  66. @Column(name = "picture", nullable = true, length = 255)
  67. public String getPicture() {
  68. return picture;
  69. }
  70. public void setPicture(String picture) {
  71. this.picture = picture;
  72. }
  73. @Basic
  74. @Column(name = "is_read", nullable = true)
  75. public Integer getIsRead() {
  76. return isRead;
  77. }
  78. public void setIsRead(Integer isRead) {
  79. this.isRead = isRead;
  80. }
  81. @Basic
  82. @Column(name = "solution_org", nullable = true, length = 255)
  83. public String getSolutionOrg() {
  84. return solutionOrg;
  85. }
  86. public void setSolutionOrg(String solutionOrg) {
  87. this.solutionOrg = solutionOrg;
  88. }
  89. @Basic
  90. @Column(name = "solution_status", nullable = true)
  91. public Integer getSolutionStatus() {
  92. return solutionStatus;
  93. }
  94. public void setSolutionStatus(Integer solutionStatus) {
  95. this.solutionStatus = solutionStatus;
  96. }
  97. @Basic
  98. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
  99. @Column(name = "solution_date", nullable = true)
  100. public Date getSolutionDate() {
  101. return solutionDate;
  102. }
  103. public void setSolutionDate(Date solutionDate) {
  104. this.solutionDate = solutionDate;
  105. }
  106. @Basic
  107. @Column(name = "solution_reply", nullable = true, length = 255)
  108. public String getSolutionReply() {
  109. return solutionReply;
  110. }
  111. public void setSolutionReply(String solutionReply) {
  112. this.solutionReply = solutionReply;
  113. }
  114. @Basic
  115. @Column(name = "solution_user_id", nullable = true, length = 32)
  116. public String getSolutionUserId() {
  117. return solutionUserId;
  118. }
  119. public void setSolutionUserId(String solutionUserId) {
  120. this.solutionUserId = solutionUserId;
  121. }
  122. @Basic
  123. @Column(name = "solution_user_name", nullable = true, length = 255)
  124. public String getSolutionUserName() {
  125. return solutionUserName;
  126. }
  127. public void setSolutionUserName(String solutionUserName) {
  128. this.solutionUserName = solutionUserName;
  129. }
  130. @Basic
  131. @Column(name = "profile_id", nullable = true, length = 32)
  132. public String getProfileId() {
  133. return profileId;
  134. }
  135. public void setProfileId(String profileId) {
  136. this.profileId = profileId;
  137. }
  138. @Basic
  139. @Column(name = "exam_type", nullable = true, length = 2)
  140. public Integer getExamType() {
  141. return examType;
  142. }
  143. public void setExamType(Integer examType) {
  144. this.examType = examType;
  145. }
  146. @Basic
  147. @Column(name = "exam_dept", nullable = true, length = 25)
  148. public String getExamDept() {
  149. return examDept;
  150. }
  151. public void setExamDept(String examDept) {
  152. this.examDept = examDept;
  153. }
  154. @Basic
  155. @Column(name = "exam_item_name", nullable = true, length = 255)
  156. public String getExamItemName() {
  157. return examItemName;
  158. }
  159. public void setExamItemName(String examItemName) {
  160. this.examItemName = examItemName;
  161. }
  162. @Basic
  163. @Column(name = "patient_name", nullable = true, length = 25)
  164. public String getPatientName() {
  165. return patientName;
  166. }
  167. public void setPatientName(String patientName) {
  168. this.patientName = patientName;
  169. }
  170. @Basic
  171. @Column(name = "patient_age", nullable = true, length = 4)
  172. public Integer getPatientAge() {
  173. return patientAge;
  174. }
  175. public void setPatientAge(Integer patientAge) {
  176. this.patientAge = patientAge;
  177. }
  178. @Basic
  179. @Column(name = "patient_sex", nullable = true, length = 2)
  180. public String getPatientSex() {
  181. return patientSex;
  182. }
  183. public void setPatientSex(String patientSex) {
  184. this.patientSex = patientSex;
  185. }
  186. }